June 2004
Intermediate to advanced
1056 pages
39h 58m
English
batch
batch [options]Executes commands entered on standard input. Ends with EOF. Unlike
at, which executes commands at a specific time,
batch executes commands one after another (waiting
for each one to complete). This avoids the potentially high system
load caused by running several background jobs at once. See also
at.
batch is equivalent to issuing the command
at
-q
b
now.
-f
file
Execute commands listed in file.
-m
Send mail to user after job is completed (if an MTA such as sendmail is configured to run).
% batchsortin > outtroff -msbigfile>bigfile.psEOF
Read now
Unlock full access