Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Difference between batch and &' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Difference between batch and &
Authored by: GEllenburg on Jan 23, '03 07:01:53AM

The `batch` command does one other important thing which using the ampersand operater can not...

One can queue up tens, or even hundreds of commands to run "... in batch ...," but if the load average on the machine is too high, batch will wait for the load to drop down before executing further commands so the system doesn't become unstable or unusable.

Simply placing a command in the background (using the ampersand) can't do this.



[ Reply to This | # ]