Search: in
At (Unix)
At (Unix) in Encyclopedia Encyclopedia
  Tutorials     Encyclopedia     Videos     Books     Software     DVDs  
       





At (Unix)

In Unix-like computer operating systems, the at command is used to schedule commands to be executed once, at a particular time in the future.

More precisely, it reads a series of commands from standard input and collects them into one "at-job" which is carried out at a later date. The at-job inherits the current environment, so that it is executed in the same working directory and with the same environment variables set as when it was scheduled.

It differs from cron which is used for recurring executions (e.g. once an hour, every Tuesday, January 1 every year). As with cron, many Unix systems allow the administrator to restrict access to the at command.

at can be made to mail a user when done carrying out a scheduled job of theirs, can use more than one job queue, and can read a list of jobs to carry out from a file instead of standard input. A sample command to compile a C program at 11:45 a. m. on January 31st and e-mail the results (STDOUT and STDERR) to your user ID would be:

In some Unix-like computer operating systems it uses a daemon, atd, which waits in the background periodically checking the list of jobs to do and executing those at their scheduled time on behalf of at.

Using the batch command instead of at, it can be made to only run scheduled jobs if the system's load average is below 0.8 per default.

Windows NT/2000/XP/7 also has an at command (similar to cron), but it is deprecated in favor of Task Scheduler.

See also

External links

ca:At (Unix) cs:At (Unix) de:At (Unix) el:At (Unix) es:At (Unix) fr:At (Unix) it:At (Unix) hu:At (Unix) ja:At (UNIX) pl:At (Unix) pt:At (Unix) ro:At (Unix) ru:At uk:At ( )






Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Search for At (Unix) in Tutorials
Search for At (Unix) in Encyclopedia
Search for At (Unix) in Videos
Search for At (Unix) in Books
Search for At (Unix) in Software
Search for At (Unix) in DVDs
Search for At (Unix) in Store




Advertisement




At (Unix) in Encyclopedia
At_(Unix) top At_(Unix)

Home - Add TutorGig to Your Site - Disclaimer

©2011-2013 TutorGig.info All Rights Reserved. Privacy Statement