/etc/crontab

Jmnote (토론 | 기여)님의 2012년 8월 14일 (화) 14:40 판 (→‎1.10-8 기본값)
/etc/crontab

1 1.10-30 기본값

  • crontabs-1.10-30.fc11.noarch
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs

# 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
# |  |  |  |  |
# *  *  *  *  *  command to be executed

2 1.10-8 기본값

  • crontabs-1.10-8
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
의미
  • 01 * * * * (매시 1회) 매시 1분 수행
  • 02 4 * * * (매일 1회) 매일 4시 2분 수행
  • 22 4 * * 0 (매주 1회) 매주 일요일 4시 22분 수행
  • 42 4 1 * * (매월 1회) 매달 1일 4시 42분 수

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}