at—at, batch—execute commands at a later time

at [–csm] [–f script] [–qqueue] time [date] [+ increment]at –l [ job...]at –r job...batch

at and batch read commands from standard input to be executed at a later time. at allows you to specify when the commands should be executed, while jobs queued with batch will execute when system load level permits. Executes commands read from stdin or a file at some later time. Unless redirected, the output is mailed to the user.

Example A.1.
1   at 6:30am Dec 12 < program
2   at noon tomorrow < program
3   at 1945 pm August 9 < program
4   at now + 3 hours < program
5   at 8:30am Jan 4 < program
6   at -r 83883555320.a

EXPLANATION

  1. At 6:30 in the morning on December 12th, start the job.

  2. At noon tomorrow start the job. ...

Get UNIX® Shells by Example, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.