본문 바로가기

Work/Linux(6.x)_centos

centos 일회성 작업 예약 at 명령어

1. 작업 예약


# at <시간>

at> 실행할 명령어 입력 후 엔터

완료되면 Ctrl+D


2. 확인


# at -l



3. 삭제

# atrm <작업번호>



%%%%%%%%%%%%%%%%%%%%%%%%%%

[root@centos /]# at now +1 hour

at> ls -al > /ls

at> <EOT>

job 2 at 2015-07-22 14:45

[root@centos /]# at -l

2       2015-07-22 14:45 a root

[root@centos /]# atrm 2

[root@centos /]# at -l

%%%%%%%%%%%%%%%%%%%%%%%%%%

'Work > Linux(6.x)_centos' 카테고리의 다른 글

centos6 hostname 변경  (0) 2015.07.23
centos6 ssh 접속시 느릴때  (0) 2015.07.23
centos,Redhat storage Fc 카드 관련  (0) 2015.05.21
centos root password 복구  (0) 2015.04.15
Centos local root 로그인 막기  (0) 2015.04.08