mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:46:01 +02:00
at, batch: consistency between examples. (#2729)
This commit is contained in:
parent
95d51a4306
commit
5282b17d36
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
||||||
> Execute commands once at a later time.
|
> Execute commands once at a later time.
|
||||||
> Service atd (or atrun) should be running for the actual executions.
|
> Service atd (or atrun) should be running for the actual executions.
|
||||||
|
|
||||||
- Execute commands from standard input in 5 minutes (press `Ctrl + D` after entering commands):
|
- Execute commands from standard input in 5 minutes (press `Ctrl + D` when done):
|
||||||
|
|
||||||
`at now + 5 minutes`
|
`at now + 5 minutes`
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
> Execute commands at a later time when the system load levels permit.
|
> Execute commands at a later time when the system load levels permit.
|
||||||
> Service atd (or atrun) should be running for the actual executions.
|
> Service atd (or atrun) should be running for the actual executions.
|
||||||
|
|
||||||
|
- Execute commands from standard input (press `Ctrl + D` when done):
|
||||||
|
|
||||||
|
`batch`
|
||||||
|
|
||||||
- Execute a command from standard input:
|
- Execute a command from standard input:
|
||||||
|
|
||||||
`echo "{{./make_db_backup.sh}}" | batch`
|
`echo "{{./make_db_backup.sh}}" | batch`
|
||||||
|
@ -10,7 +14,3 @@
|
||||||
- Execute commands from a given file:
|
- Execute commands from a given file:
|
||||||
|
|
||||||
`batch -f {{path/to/file}}`
|
`batch -f {{path/to/file}}`
|
||||||
|
|
||||||
- Execute commands from standard input (press `Ctrl + D` when finished):
|
|
||||||
|
|
||||||
`batch`
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue