2017-05-01 11:06:06 +01:00
|
|
|
# at
|
|
|
|
|
|
|
|
> Execute commands once at a later time.
|
|
|
|
> Service atd (or atrun) should be running for the actual executions.
|
2022-03-09 04:28:57 +00:00
|
|
|
> More information: <https://manned.org/at>.
|
2017-05-01 11:06:06 +01:00
|
|
|
|
2019-01-27 00:12:54 +00:00
|
|
|
- Execute commands from standard input in 5 minutes (press `Ctrl + D` when done):
|
2017-05-01 11:06:06 +01:00
|
|
|
|
2018-07-20 09:11:15 +01:00
|
|
|
`at now + 5 minutes`
|
2017-05-01 11:06:06 +01:00
|
|
|
|
|
|
|
- Execute a command from standard input at 10:00 AM today:
|
|
|
|
|
|
|
|
`echo "{{./make_db_backup.sh}}" | at 1000`
|
|
|
|
|
|
|
|
- Execute commands from a given file next Tuesday:
|
|
|
|
|
|
|
|
`at -f {{path/to/file}} 9:30 PM Tue`
|