ATD(8)

๐Ÿ’– ATD(8) โ€” like, the manual page for atd, bestie ๐Ÿ’–

System Manager's Manual โœจ so you know it's giving official. This is the atd page, section 8, and we're gonna get you fluent, no cap. ๐Ÿซถ


๐ŸŒธ NAME ๐ŸŒธ

atd โ€” run jobs queued for later execution. She's the girl who actually shows up and does the thing later. โฐ


โœจ SYNOPSIS โœจ

atd [-l load_avg] [-b batch_interval] [-d] [-f] [-s]

Look at her, five little flags, all optional, all iconic. ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

atd runs the jobs that were queued up by at(1). That's it. That's the whole job description. She's the backstage crew for your future self. ๐ŸŒŸ


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -l โ€” Sets a limiting load factor, bestie. Once the load goes over this number, batch jobs should not be run. It replaces the compile-time choice of 1.5. And if you're on an SMP system with n CPUs, you'll probably want to set this higher than n-1. Do the math, queen. ๐Ÿงฎ
  • -b โ€” Sets the minimum interval, in seconds, between the start of two batch jobs. Default is 60. Spacing them out like a good playlist. ๐ŸŽง
  • -d โ€” Debug mode: prints error messages to standard error instead of using syslog(3). Also, heads up, this option implies -f. Two for one, slay. ๐Ÿ”ฅ
  • -f โ€” Runs atd in the foreground. She's not hiding, she's present. ๐Ÿ‘‘
  • -s โ€” Processes the at/batch queue only once. This is mainly for compatibility with old versions of at โ€” atd -s is equivalent to the old atrun command. Vintage vibe, we love a throwback. ๐ŸŽ€

๐Ÿšจ WARNING ๐Ÿšจ

Real talk: atd won't work if its spool directory is mounted via NFS โ€” even if no_root_squash is set. Nope. Not happening. Don't try it, bestie. ๐Ÿ˜ญ

๐Ÿ“‚ FILES ๐Ÿ“‚

  • /var/spool/cron/atjobs โ€” the directory for storing jobs; this should be mode 700, owner daemon. ๐Ÿ”
  • /var/spool/cron/atspool โ€” the directory for storing output; this should be mode 700, owner daemon. Same energy, different folder. ๐Ÿ—‚๏ธ
  • /etc/at.allow, /etc/at.deny โ€” these determine who can use the at system. The bouncers at the door. ๐Ÿšช

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

at(1), at.deny(5), at.allow(5), cron(8), crontab(1), syslog(3). Go read your siblings' pages, iykyk. ๐Ÿ“šโœจ


๐Ÿ’€ BUGS ๐Ÿ’€

The functionality of atd should be merged into cron(8). That's it, that's the bug report. Somebody said it. ๐Ÿ™ˆ


Okay that's the whole page, you ate that. ๐Ÿ’– This little masterpiece is dated 2009-11-14 and lives in ATD(8), so if you're citing it, that's the receipt. Now go queue something and forget about it, the main character way. โœจ๐ŸŒธ๐Ÿฆ‹