DistributedNetworks DistributedNetworks


Special File Types   «Prev 

Unix batch command

The batch command executes commands entered from standard input. This command functions much like the at command. However, one key difference exists: at can execute several commands at once, running them in the background. This operation can consume valuable system resources and bog down the server. The batch command runs one process, waits for it to end, then runs another. This empowers the operating system to run batch jobs and tasks at its own discretion, rather than being forced to run them at a specific time. The command syntax for batch is as follows:
batch task list CTRL+D

Although you can issue commands to view crontab and at entries, you must rely on email to receive output for the batch command.