Creating an at Job
at command permits the user to schedule a command for execution at a specified time, show a list of scheduled jobs and remove jobs from the scheduled jobs list. The Jobs can be scheduled through specifying either the absolute time or a time relative to the current time.
Practice
Following example show an at job can be created.
$ at -m 1930
at> rm /home/krishen/*.backup at> Press Control-d
warning: the commands will be executed using /bin/sh job 5 at 2001-05-23 19:30
Send mail to the user
Here, the user krishen has created at job to remove his backup files at 7:30 p.m. A -m option enables the user to receive a mail message after the job finished. The user will receive a mail message whenever the job is finished, even if there is no output.