2025-03-14 21:59:59 -06:00
|
|
|
# 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`
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
- Execute commands from `stdin` (press `<Ctrl d>` when done):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`batch`
|
|
|
|
|
|
|
|
|
|
- Execute a command from `stdin`:
|
|
|
|
|
|
|
|
|
|
`echo "{{./make_db_backup.sh}}" | batch`
|