Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-17 00:17:21 +00:00
parent f32d2d1ccd
commit 7d8d3edd4e
24 changed files with 307 additions and 37 deletions

14
tldr/at
View File

@@ -6,16 +6,24 @@ 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.
> Results will be sent to the users mail.
> More information: <https://manned.org/at>.
- Execute commands from `stdin` in 5 minutes (press `Ctrl + D` when done):
- Start the `atd` daemon:
`systemctl start atd`
- Create commands interactively and execute them in 5 minutes (press `<Ctrl> + D` when done):
`at now + 5 minutes`
- Create commands interactively and execute them at a specific time:
`at {{hh:mm}}`
- Execute a command from `stdin` at 10:00 AM today:
`echo "{{./make_db_backup.sh}}" | at 1000`
`echo "{{command}}" | at 1000`
- Execute commands from a given file next Tuesday: