Last active
August 29, 2015 14:06
-
-
Save Khanashima/b3e9a9baebf1b3af95ce to your computer and use it in GitHub Desktop.
【logrotateの実行タイミング】/etc/crontabに無い時の確認方法 ref: http://qiita.com/kiimiiis/items/b9bc67922fb0baf37a1e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/anacrontab: configuration file for anacron | |
# See anacron(8) and anacrontab(5) for details. | |
SHELL=/bin/sh | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |
MAILTO=root | |
# the maximal random delay added to the base delay of the jobs | |
RANDOM_DELAY=45 | |
# the jobs will be started during the following hours only | |
START_HOURS_RANGE=3-22 | |
#period in days delay in minutes job-identifier command | |
1 5 cron.daily nice run-parts /etc/cron.daily | |
7 25 cron.weekly nice run-parts /etc/cron.weekly | |
@monthly 45 cron.monthly nice run-parts /etc/cron.monthly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment