where is "at" daemon?

where is "at" daemon?

Post by niy3 » Sun, 16 Nov 2003 07:09:10


if there is one.

If not, how "at" works?
 
 
 

where is "at" daemon?

Post by Gerhard Le » Sun, 16 Nov 2003 07:42:42


There is no separate at daemon. Cron takes care of cron jobs as well
as at jobs. From the cron manpage:

"cron executes commands at specified dates and times. Regularly
scheduled commands can be specified according to instructions found
in crontab files in the directory /var/spool/cron/crontabs. Users can
submit their own crontab file via the crontab(1) command. Commands
that are to be executed only once can be submitted using the at(1)
command.
[...]
Cron also takes care of the execution of jobs issued by at(1) that
are found in /usr/spool/at/. Cron simply runs the AT job as if there
were an "sh at-job" as a cron job at the appropriate time under the
user-id of the owner of the script. The script takes care of the
rest. See at(1) for the details."


Gerhard