mirror of https://github.com/CrimsonTome/tldr.git
17 lines
381 B
Markdown
17 lines
381 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 commands from standard input (press `Ctrl + D` when done):
|
|
|
|
`batch`
|
|
|
|
- Execute a command from standard input:
|
|
|
|
`echo "{{./make_db_backup.sh}}" | batch`
|
|
|
|
- Execute commands from a given file:
|
|
|
|
`batch -f {{path/to/file}}`
|