How To Use Etc Cron D
Vim mailto root root touch tmp file.
How to use etc cron d. I then discovered cron format files under etc cron d which contain the previous scheduling and i now assume it is these files which cron is obeying. The cron job specified in etc cron d 0hourly runs the run parts program once per hour. That s the reason why is name of the user needed. The run parts program runs all the scripts located in the etc cron hourly directory. Etc cron d sysstat rw root root sysstat cron configuration sysstat configuration file is etc sysconfig sysstat.
If you have an old cron then if you copied a. Recent cron daemons also examine the timestamps of the individual files in etc cron d but maybe you re dealing with an old one here. I re scheduled my cron timings but found they were still firing at the previous interval. Mailto on the first line is optional. Jobs in etc cron d the jobs in cron d are system jobs which are used usually for more than one user.
So i want to edit these and remove the redundant masking lines from the main crontab but the usage for. Older cron daemons used to examine etc cron d for updated content only when they saw that the last modified timestamp of that directory or of the etc crontab file had changed since the last time cron scanned it. Login as root create job with preferred editor e g. The etc cron hourly directory contains the 0anacron script which runs the anacron program using the etdc anacrontab.