1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:22:18 +02:00
tldr/pages/common/batch.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

17 lines
417 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.
> More information: <https://manned.org/batch>.
- Execute commands from `stdin` (press `Ctrl + D` when done):
`batch`
- Execute a command from `stdin`:
`echo "{{./make_db_backup.sh}}" | batch`
- Execute commands from a given [f]ile:
`batch -f {{path/to/file}}`