Skip to content

Commit

Permalink
batch: revert changes (#15163)
Browse files Browse the repository at this point in the history
Co-authored-by: Wiktor Perskawiec <[email protected]>
  • Loading branch information
Managor and spageektti authored Dec 14, 2024
1 parent 3823ba7 commit 596f331
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions pages/common/batch.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# 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`

0 comments on commit 596f331

Please sign in to comment.