1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/at.md
Managor 9d2d2147ce
at, batch: update pages (#14220)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-16 12:38:23 +05:30

25 lines
562 B
Markdown

# at
> Execute commands once at a later time.
> Results will be sent to the users mail.
> More information: <https://manned.org/at>.
- 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 "{{command}}" | at 1000`
- Execute commands from a given file next Tuesday:
`at -f {{path/to/file}} 9:30 PM Tue`