1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 01:44:57 +02:00
tldr/pages/linux/at.md
2020-05-03 13:12:22 +01:00

19 lines
481 B
Markdown

# at
> Executes commands at a specified time.
- Open an `at` prompt to create a new set of scheduled commands, press `Ctrl + D` to save and exit:
`at {{hh:mm:ss}}`
- Execute the commands and email the result using a local mailing program such as sendmail:
`at {{hh:mm:ss}} -m`
- Execute a script at the given time:
`at {{hh:mm:ss}} -f {{path/to/file}}`
- Display a system notification at 11pm on February 18th:
`echo "notify-send '{{Wake up!}}'" | at {{11pm}} {{Feb 18}}`