Crontab vs /etc/cron.x directories
by banderas20 from LinuxQuestions.org on (#6E9HV)
Hi.
I have been working with crontab to schedule jobs. I usually run crontab -l (to list the jobs) or crontab -e (to edit them). Always bearing in mind each user.
I also have found the following directories:
/etc/anacrontab
/etc/cron.d
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/crontab
/etc/cron.weekly
iWhat is the difference between the 2 approaches?
Thanks!
I have been working with crontab to schedule jobs. I usually run crontab -l (to list the jobs) or crontab -e (to edit them). Always bearing in mind each user.
I also have found the following directories:
/etc/anacrontab
/etc/cron.d
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/crontab
/etc/cron.weekly
iWhat is the difference between the 2 approaches?
Thanks!