PDA

View Full Version : cron.daily starts when?



tashirosgt
11th June 2006, 04:52 AM
Does crond run the scripts in cron.daily at exactly the beginning of each day (on a machine that is left running continuously)? Can one specify a number of hours or minutes past the beginning of the day in a cron.daily script, as one can do in a crontab established for a specific user?

marko
11th June 2006, 05:14 AM
crond runs them at the time specified in the file /etc/crontab,
the daily one is 4:02am, the hourly is done 1 minute after the
top of the hour, and so on. The format for the time entries are:

minute hour date_of_month month day_of_week

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

Mark