In the etc directory I have:
And in the crontab file I have:user:~$ ls /etc/ | grep cron.
cron.daily
cron.hourly
cron.monthly
cron.weekly
Can anyone please explain what these directories and crontab entries are actually doing. There is nothing in the cron.daily directory, so why is it even there? Google is usually my friend, but is silent on this topic. Or more likely, I just don't know how to ask the question correctly. Hope you can help.user:~$ cat /etc/crontab
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
Thanks.
Bookmarks