mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
20 lines
454 B
Plaintext
20 lines
454 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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>.
|
|
|
|
- Execute commands from `stdin` (press `<Ctrl d>` when done):
|
|
|
|
`batch`
|
|
|
|
- Execute a command from `stdin`:
|
|
|
|
`echo "{{./make_db_backup.sh}}" | batch`
|