Linux Server

리눅스 cron - 시스템 작업 예약

delmaster 2015. 5. 15. 17:11

[cron]

* crond 데몬이 실행되어 있어야 가능
* 원하는 작업을 등록하여 원하는 시간에 자동으로 실행 시킬 수 있다
* cron에 등록할 내용을 crontab으로 수정

* crond 데몬 실행 확인
 * ps -ef | grep crond | grep -v grep

 

* 파일 위치

 * vi /etc/crontab

* crontab 수정
 * crontab -e

 

* crontab 리스트 출력
 * cron -l

 

* 로그파일

* /var/log/cron


 # Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed

 

'Linux Server' 카테고리의 다른 글

리눅스 VMware Tools 설치  (0) 2015.07.01
리눅스 DHCP  (0) 2015.06.02
CentOS R 설치  (0) 2015.05.19
리눅스 vsftpd 구현  (0) 2015.05.19
리눅스 BIND 9.8.2 - CentOS 6.6 / 6.7  (1) 2015.05.15
리눅스 SSH  (0) 2015.05.14
리눅스 SAMBA AD Join  (0) 2015.05.13
리눅스 SAMBA  (0) 2015.05.13