Ubuntu 10.04 Server
I am using at
to have a bash
script schedule itself to run again a particular interval after it completes: (here is the last line of that script)
echo "$0" | at tomorrow + 5minutes
The job gets scheduled, but does not run. When I run atq
, I see the job is scheduled, but it is now well past the time it should have run:
9 Sat Jun 4 11:38:00 2011 = username
Time now:
$ date
Sat Jun 4 22:55:09 EDT 2011
Nothing shows up in my CRON log about it. Is there some other log it would show up in? Is there some way I can force it to run? Google has not been very helpful, since it does not understand that at is the name of a program...
Edit: The job probably did not run because of a broken Ubuntu update:
Jun 4 11:38:00 server01 atd[32330]: Module is unknown
http://forum.linode.com/viewtopic.php?p=39867
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/790538
Now that is fixed, what is the best way to run the job manually?