atd Command with Examples in Linux

This tutorial explains Linux “atd” command, options and its usage with examples.

atd is used to run jobs queued for later execution. atd runs jobs queued by using at command. atd won’t work if its spool directory is mounted via NTFS

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.

advertisement
advertisement

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.

If you wish to look at all Linux commands and their usage examples, go to Linux Commands Tutorial.

If you find any mistake above, kindly email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.