The crontabs on RHEL seem to be duplicated in two places,
/var/spool/cron. I’ve checked, and neither of these are simlinks to the other, and neither are any of the crons contained in either location.
I guess my most important question is this, which of these two is the authoritative location? If I were to edit a file in only one of these two, which one would I have to make my edit in to get it to execute?
/var/spool/cron is where the individual user crontabs live. As user,
crontab -e edits the corresponding file in
/etc/cron.d is a directory that is scanned for modular crontab files. The syntax is slightly different for files in that directory. The cron entries have an additional field for a
user to run the cron entries as. This is the same as a systemwide
See RedHat’s documentation here: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/3/html/System_Administration_Guide/ch-autotasks.html
Leave a comment
- What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?
- Know if mysql has done its job
- Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change
- Why is it a bad idea to use customer email as from address
- 100% packets dropped on first RX queue on 3/5 raid6 iSCSI NAS devices using intel igb (resolved)