Managing System Information, Processes, and Performance in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Scheduling Repetitive Jobs With crontab

You can schedule routine system administration tasks to execute daily, weekly, or monthly by using the crontab command.

    Daily crontab system administration tasks might include the following:

  • Removing files more than a few days old from temporary directories

  • Executing accounting summary commands

  • Taking snapshots of the system by using the df and ps commands

  • Performing daily security monitoring

  • Running system backups

    Weekly crontab system administration tasks might include the following:

  • Rebuilding the catman database for use by the man -k command

  • Running the fsck -n command to list any disk problems

    Monthly crontab system administration tasks might include the following:

  • Listing files not used during a specific month

  • Producing monthly accounting reports

Additionally, you can schedule crontab commands to execute other routine system tasks, such as sending reminders and removing backup files.

For step-by-step instructions for scheduling crontab jobs, see How to Create or Edit a crontab File.