If I place a shell script in /etc/cron.daily/, at what time of the day will it be executed?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|
Looking at
|
||||
|
|
|
Approximately 7:35am, but the exact timing will depend on anacron. By default cron delegates the running of /etc/cron.daily jobs to anacron. /etc/crontab contains the line:
but this defines the behaviour if anacron is not installed With anacron installed, the running of cron.daily jobs is controlled by the entry in /etc/anacrontab:
which says run these jobs once per day, with a delay of 5 minutes. anacron itself is run by cron, as specified in the file /etc/cron.d/anacron, which runs anacron at 7:30am. |
|||
|
|
