RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

At

Article Index
1. Name
2. Synopsis
3. Frequently used options
4. Examples

1. Name

at [man page] - queue, examine or delete jobs for later execution

2. Synopsis

at     [-V] [-q queue] [-f file] [-mldbv] TIME
at -c job [job...]
atq [-V] [-q queue]
atrm [-V] job [job...]
batch

3. Frequently used options

-m      Send mail to the user when the job has
completed even if there was no output.
-f file Reads the job from file rather than standard input.
-l Is an alias for atq.

4. Examples

In this example the at command will run a job as specified in a commands.txt file in one minute time from now:

at now + 1 minute -f commands.txt 
at next minute -f commands.txt 

run job one minute from now
Run a job listed in a commands.txt file in 10 hours time from now:

at now + 10 hours -f commands.txt 

run job ten hours from now
Run a job listed in a commands.txt file on 27 September at 20:30:

at 2030 September 27 -f commands.txt 

run job on the specific date
Run a job listed in a commands.txt file on following Sunday at 7 AM:

at 7pm Sunday -f commands.txt 

run job on the specific day
Run a job listed in a commands.txt file next week:

at next week -f  commands.txt 

run job next week

Share this linux post:

Submit At in Delicious Submit At in Digg Submit At in FaceBook Submit At in Google Bookmarks Submit At in Stumbleupon Submit At in Technorati Submit At in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download