Cron Job files on CentOS and Fedora

CentOS and Fedora Linux use a set of directories in /etc to control when jobs run.

These directories take the following form:

/etc/cron.hourly – jobs that run once per hour

/etc/cron.daily – jobs that run once per day

/etc/cron.weekly – jobs that run one per week

/etc/cron.monthly – jobs that run once per month

The jobs that you start something like

/sbin/yum -y update

or/sbin/reboot

or running a script some where in your machine

/opt/scripts/script1.sh &

or syncrionize with remote host with Rsync commands

The other way is to add these jobs via Crontab commands :

crontab -e Edit your crontab file, or create one if it doesn’t already exist.crontab -l Display your crontab file.crontab -r Remove your crontab file.crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)