System Administration Guide: Advanced Administration

Example—Removing at Jobs

In the following example, a user wants to remove an at job that was scheduled to execute at 4 a.m. on July 17th. First, the user displays the at queue to locate the job identification number. Next, the user removes this job from the at queue. Finally, the user verifies that this job has been removed from the queue.


$ at -l
897543900.a	Sat Jul 14 23:45:00 2001
897355800.a	Thu Jul 12 19:30:00 2001
897732000.a	Tue Jul 17 04:00:00 2001
$ at -r 897732000.a
$ at -l 897732000.a
at: 858142000.a: No such file or directory