mirror of https://github.com/CrimsonTome/tldr.git
at, batch: consistency between examples. (#2729)
parent
95d51a4306
commit
5282b17d36
|
@ -3,7 +3,7 @@
|
|||
> Execute commands once at a later time.
|
||||
> 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`
|
||||
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
> Execute commands at a later time when the system load levels permit.
|
||||
> 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:
|
||||
|
||||
`echo "{{./make_db_backup.sh}}" | batch`
|
||||
|
@ -10,7 +14,3 @@
|
|||
- Execute commands from a given file:
|
||||
|
||||
`batch -f {{path/to/file}}`
|
||||
|
||||
- Execute commands from standard input (press `Ctrl + D` when finished):
|
||||
|
||||
`batch`
|
||||
|
|
Loading…
Reference in New Issue