Created
September 26, 2019 09:14
-
-
Save BtbN/71ac2e0e3864b204c1941383d65f6339 to your computer and use it in GitHub Desktop.
/etc/cron.d/dailyjobs
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
# Global variables | |
SHELL=/bin/bash | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |
MAILTO=root | |
HOME=/ | |
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly | |
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly | |
9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily | |
19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly | |
29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly | |
*/10 * * * * root /usr/sbin/run-crons |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment