atjob
command
Execute commands at a future time.
Usages
-
atjob [-p] seconds command -
atjob -l -
atjob -r id [id2 ...] -
atjob -r all
atjob schedules a command to be run n number of seconds from now, or every n seconds.
Note
Jobs only work correctly inside graphical applications.
Note
The job runs at the application’s first opportunity. If the application is very busy (for example, rendering), the job is not guaranteed to run on time.
Options
|
|
Periodic: run the command repeatedly at the given interval. |
|
|
Print all pending jobs. |
|
|
Remove a pending job (prevent it from running). You can specify the ID of a pending job. |
|
|
Remove all pending jobs. |
Examples
atjob 300 mwrite -iRun “write -i” in 300 seconds (5 minutes).
atjob -p 10 mwrite -iRun “mwrite -i” every 10 seconds.