When do entries in
.hourly) run, and is it configurable?
I haven’t found a definitive answer to this, and am hoping there is one.
I’m running RHEL5 and CentOS 4, but for other distros/platforms would be great, too.
For the distributions you mention:
On CentOS 5.4 (Should be same for RHEL5)
grep run-parts /etc/crontab01 * * * * 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
So cron.daily runs at 04:02am.
Same on CentOS 4.8
- What user do scripts in the cron folders run as? (i.e. cron.daily, cron.hourly, etc)
- Is it possible to configure cron (on linux) to read a user crontab from a file checked in to an application?
- knowning how much time is left before cron weekly runs?
- Cron: Can’t get my backup schedule to work with rsnapshot
- What’s the purpose of cron.daily folder in Ubuntu distro