This tutorial explains Linux “atd” command, options and its usage with examples.
Synopsis :
atd [-l load_avg] [-b batch_interval] [-d] [-s] [-f]
Options :
-l
Specifies a limiting load factor, over which batch jobs should not be run, instead of the compile-time choice of 0.8. For an SMP system with n CPUs, you will probably want to set this higher than n-1.
-b
Specifiy the minimum interval in seconds between the start of two batch jobs (60 default).
-d
Debug; print error messages to standard error instead of using syslog(3).
-s
Process the at/batch queue only once. This is primarily of use for compatibility with old versions of at; atd -s is equivalent to the old atrun command. A script invoking atd -s is installed as /usr/sbin/atrun for backward compatibility.
-f
Run atd in the foreground.
Note : /var/spool/cron/atjobs The directory for storing jobs; this should be mode 700, owner daemon.
Note : /var/spool/cron/atspool The directory for storing output; this should be mode 700, owner daemon.
Sanfoundry Global Education & Learning Series – 1000 Linux Tutorials.
- Check Linux Books
- Apply for Programming Internship
- Practice Programming MCQs
- Check Information Technology Books