crontab 옵션
IT 개발/OS-LINUX 2012. 8. 29. 18:28
참고문서 : http://panic910.tistory.com/27\
crontab [ -u user ] file
crontab [ -u user ] { -l | -r | -e }
-l : 현재 cron table을 보여 줌
-r : 현재 cron table을 삭제
-e : 현재 cron table을 편집
-u user : user 사용자에 대해서 crontab 작업을 수행한다.
cron table의 각 필드값 설명
| 분 | 시간 | 날짜 | 달 | 요일 | 사용자 | 명령 |
1 2 3 4 5 program
1 : minute (0-59),
2 : hour (0-23),
3 : day of the month (1-31),
4 : month of the year (1-12),
5 : day of the week (0-6 with 0=Sunday).
''*'' : everytime
''-'' : 범위 지정, 1-5이면 1시와 5시 사이
'','' : 분리자, 시간으로 예를 들면 1,3이면 1시와 3시
/ : 시간에서 20-9/3이라면 20시부터 09시까지 매 3시간마다라는 뜻



추가정보
참고문서 :
http://jangjeonghun.tistory.com/201
'IT 개발 > OS-LINUX' 카테고리의 다른 글
라즈베리파이 시간이 안맞을 때 맞추는 방법 (0) | 2014.10.27 |
---|---|
tar 옵션 (파일내용보기, 특정파일만 풀기) (0) | 2012.08.10 |
openwrt에서 mysql설치해보자 (1) | 2012.05.30 |
OpenWRT설정 (현재 내가 쓰고 있는 설정) (0) | 2012.05.18 |
페도라코어8이상에서 ssh포트문제 (0) | 2011.08.23 |