Automate System Administration : Cron and at commands in Linux

Back 

The cron system is essentially a smart alarm clock. When the alarm sounds, Linux runs the commands of your choice automatically. You can set the alarm clock to run at all sorts of regular time intervals. Many cron jobs are scheduled to run during the middle of the night, when user activity is lower. Of course, that timing can be adjusted. Alternatively the at system allows user to run commands of their choice, Once, at specified time in the future.

The cron daemons starts jobs on a regular schedule. The anacron system helps the cron daemon work on systems that are powered off at night. This helps enterprises that want to save energy.

It's configured to check the /var/spool/cron directory for jobs by user. In addition, it in co-operates jobs defined in the /etc/anacrontab file, based on 0anacron script in the /etc/cron.hourly directory. It checks  for scheduled jobs for the computer described in the /etc/crontab file and in the /etc/cron.d directory.

Types of Automate System administration commands 

Crontab

Anacron