RHEL 6.x and CentOS 6.x Cron and At Utilities

Linux System Administrators responsible for RHEL 6.x and CentOS 6.x systems need to be able to automate system tasks. The official Red Hat Enterprise Linux (RHEL) 6.x “Deployment Guide” documentation includes a good tutorial on the popular “Cron” and “At” utilties. Read about these tools and other related items on the official documentation site:

Note that the CentOS 6.x minimal install does not include “at” among the default minimal set of utilities. Follow the RHEL 6 document for related commands to install the “at” tool and start the “atd” service. These basic tools for automation are important parts of the core Linux systems administration tool set. Learn them and use them!

# pipe reboot command to "at" with a scheduled time
# this example will reboot your server overnight
echo "/sbin/shutdown -r now" | at 2:00am
# Use "at -c" with a number from "atq" to view at job details
# at -c NUMBER

Related articles you may find useful:


About notesbytom

Keeping technology notes on WordPress.com to free up my mind to solve new problems rather than figuring out the same ones repeatedly :-).
This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s