Save up to 35%

What is the at command?

July 16th, 2007 by uCertify Leave a reply »

The at command is used to set a specific command or batch file to execute at a certain time.

Syntax:

at [option] schedule time

Several options are used with the at command. Following is a list of some important options:

Option Description
-q Uses the specified queue.
-m Sends a mail to a user when a job is completed.
-f file Reads a job from a file.
-l Reports all jobs scheduled for the invoking user. It works in the same manner as the atq command.

The atd daemon monitors the queue of the at commands and executes them at a specified time.

Example:

The following command will create a list of jobs to be executed at 8:00 AM on 22nd August 2004.

at 08:00 22.08.2004
at> ls<enter>
at> pwd<enter>
<ctrl> + <d>

The <ctrl> + <d> key combination is used to end the list of commands.

The jobs can be removed from an at queue by using the atrm command.

Note: The at command cannot schedule recurring jobs.

Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.