Chapter 35. Automated Tasks

Chapter 35. Automated Tasks

35.1. Cron
35.1.1. Configuring Cron Tasks
35.1.2. Controlling Access to Cron
35.1.3. Starting and Stopping the Service
35.2. At and Batch
35.2.1. Configuring At Jobs
35.2.2. Configuring Batch Jobs
35.2.3. Viewing Pending Jobs
35.2.4. Additional Command Line Options
35.2.5. Controlling Access to At and Batch
35.2.6. Starting and Stopping the Service
35.3. Additional Resources
35.3.1. Installed Documentation

In Linux, tasks can be configured to run automatically within a specified period of time, on a specified date, or when the system load average is below a specified number. Red Hat Enterprise Linux is pre-configured to run important system tasks to keep the system updated. For example, the slocate database used by the locate command is updated daily. A system administrator can use automated tasks to perform periodic backups, monitor the system, run custom scripts, and more.

Red Hat Enterprise Linux comes with several automated tasks utilities: cron, at, and batch.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.