batch: revert changes (#15163)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
@@ -1,7 +1,18 @@
|
|||||||
# batch
|
# batch
|
||||||
|
|
||||||
> This command is an alias of `at`.
|
> 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>.
|
||||||
|
|
||||||
- View documentation for the original command:
|
- Start the `atd` daemon:
|
||||||
|
|
||||||
`tldr at`
|
`systemctl start atd`
|
||||||
|
|
||||||
|
- Execute commands from `stdin` (press `Ctrl + D` when done):
|
||||||
|
|
||||||
|
`batch`
|
||||||
|
|
||||||
|
- Execute a command from `stdin`:
|
||||||
|
|
||||||
|
`echo "{{./make_db_backup.sh}}" | batch`
|
||||||
|
Reference in New Issue
Block a user