at 8:15am Jul 14
echo "Remember to call Ruth about the Amalgamated Contract!"
^D
at midnight Friday
cp project/source backup
^D
To find out what events you have already scheduled with !SPAN>at, enter the following:!SPAN>
at -l
Date Owner Queue Job#
08:15:00 07/14/97 root c 1
00:00:00 01/10/97 root c 2
To cancel an event scheduled with !SPAN>at, use the !SPAN>-r switch and a job number (which you can find using the !SPAN>at -l command). For example, to cancel job 2, you would ent er!SPAN>
at -r 2!SPAN>
Previous Lesson: Comparing Files
Next Lesson: Linking Files
Comments (most recent first)
Bob Rankin (18 Jun 2010, 05:47)
@Felipe - the at command has a -m flag to send mail when done.
Felipe (15 Jun 2010, 08:11)
Hi,
Is there a way that the "at" sends me an email when the task has finished? Thanks.
JensCarsten (31 May 2010, 16:40)
What linux distro are you using?
In Debian, it's 'at -d' to delete a job from the queue.
eddiehaskell (30 Apr 2010, 21:36)
You may wish to explain that 'at' is for one time, 'cron' is for recurring
events.
|
|
|
![]() |
|
| <Send This Link to a Friend> <Bookmark This Page> | ||