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
This commit is contained in:
Moti Korets
2017-05-01 17:06:06 +07:00
committed by Waldir Pimenta
parent 2a4379ceea
commit 2f03bc1362
4 changed files with 59 additions and 0 deletions

16
pages/common/batch.md Normal file
View File

@@ -0,0 +1,16 @@
# 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`