The last time I ran into this problem I wound up writing my own scheduler (I needed one second granularity anyway).
I would rather not reinvent the wheel again.
First off "at" is not installed by default ... it has to added (I got that part):
Code: Select all
$ sudo apt-get install at
Where are the "at" files are stored?
.... I can find nothing under /var/spool/ that relates to the "at" command.
If one can find said files then can new entries be added programmatically or must one use a subprocess to open up a shell and execute the "at" command line?
If the "-f" option is used is that shell file read at the time the "at" command is run or is it run at the time the scheduled command is executed.
Does the scheduled command open up a terminal window or can the scheduled command be run as a background process ?