1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:02:08 +02:00
tldr/pages/common/batch.md
Moti Korets 2f03bc1362 at: add page, atq: add page, atrm: add page, and batch: add page (#1344)
commands to queue commands execution at specified time
or when system load allows
2017-05-01 11:06:06 +01:00

16 lines
385 B
Markdown

# batch
> Execute commands at a later time when the system load levels permit.
> Service atd (or atrun) should be running for the actual executions.
- Execute a command from standard input:
`echo "{{./make_db_backup.sh}}" | batch`
- Execute commands from a given file:
`batch -f {{path/to/file}}`
- Execute commands from standard input (press `Ctrl + D` when finished):
`batch`