snippetbashTip
at — Execute commands once at a later time. Results will be sent to the users mail. More information: <ht
Viewed 0 times
commandcommandsexecuteclilatertimeonceat
Problem
How to use the
at command: Execute commands once at a later time. Results will be sent to the users mail. More information: <https://manned.org/at>.Solution
at — Execute commands once at a later time. Results will be sent to the users mail. More information: <https://manned.org/at>.Create commands interactively and execute them in 5 minutes (press
<Ctrl d> when done):at now + 5 minutesCreate 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 1000Execute commands from a given file next Tuesday:
at -f {{path/to/file}} 9:30 PM TueList all queued jobs for the current user (same as
atq):at -lView a specied job:
at -c {{job_number}}Code Snippets
Create commands interactively and execute them in 5 minutes (press `<Ctrl d>` when done)
at now + 5 minutesCreate 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 1000Execute commands from a given file next Tuesday
at -f {{path/to/file}} 9:30 PM TueList all queued jobs for the current user (same as `atq`)
at -lContext
tldr-pages: common/at
Revisions (0)
No revisions yet.