Like what you see? Get it in one document for easy printing!
Click Here!

Custom Search







Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  Command Line Functions And Administrative Utilities
           9  Scheduling Processes For Later Execution

Previous Topic/Section
Scheduling Processes For Later Execution
Previous Page
Pages in Current Topic/Section
1
Next Page
cron/crontab - Execute Scheduled Commands
Next Topic/Section

at  - Queue Jobs For Later Execution

Commands can be scheduled for execution at a given time in the future by using the at command. This allows the system administrator to schedule a specific task, which may require significant system resources for execution later at a time when the system load is low. It takes the form:

at -f filename time_specification

For example:

at -f backupscript 11pm today

This example line would cause the file backupscript to be executed at 11:00pm today. The format for time specification is very flexible; for example, each of the following would work:

now + 5 minutes

8pm + two days

8pm 04/01/2007

The file backupscript should contain a series of commands 1 per line that are to be executed. In this case, if the file backupscript contained instructions to create an archive file of the /home directory, compress it (zip it or gzip it), and then copy it to the backup media. This would work if one only wanted to run the script on a one-time basis. Backups are tasks that generally occur on repetitive basis. Therfore they would be better suited to be scheduled by the next command.


Previous Topic/Section
Scheduling Processes For Later Execution
Previous Page
Pages in Current Topic/Section
1
Next Page
cron/crontab - Execute Scheduled Commands
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.