mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 00:58:23 +00:00
Update cheatsheets
This commit is contained in:
22
at
Normal file
22
at
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# at
|
||||
|
||||
> Execute commands once at a later time.
|
||||
> Service atd (or atrun) should be running for the actual executions.
|
||||
> More information: <https://manned.org/at>.
|
||||
|
||||
- Execute commands from `stdin` in 5 minutes (press `Ctrl + D` when done):
|
||||
|
||||
`at now + 5 minutes`
|
||||
|
||||
- Execute a command from `stdin` 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`
|
||||
Reference in New Issue
Block a user