mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
19 lines
410 B
Markdown
19 lines
410 B
Markdown
![]() |
# batch
|
||
|
|
||
|
> Execute commands at a later time when the system load levels permit.
|
||
|
> Results will be sent to the user's mail.
|
||
|
> See also: `at`, `atq`, `atrm` `mail`.
|
||
|
> More information: <https://manned.org/batch>.
|
||
|
|
||
|
- Start the `atd` daemon:
|
||
|
|
||
|
`systemctl start atd`
|
||
|
|
||
|
- Execute commands from `stdin` (press `<Ctrl d>` when done):
|
||
|
|
||
|
`batch`
|
||
|
|
||
|
- Execute a command from `stdin`:
|
||
|
|
||
|
`echo "{{./make_db_backup.sh}}" | batch`
|