The display export does not explain why cron jobs are not running. I am having the problem of cron absolutely not working *only since upgrading to Lucid*. To see if cron was working or not, I added a cron job to /etc/crontab:
Code:
*/5 * * * * root /bin/echo 3 > /proc/sys/vm/drop_caches
Memory cache is not changed, so that didn't work. Next I tried adding the same thing via "crontab -e", also with no luck.
Just to be sure I wasn't losing it, I tried this as well - still no luck.
Code:
* * * * * root /usr/bin/touch /root/crontwatch.txt
File does not even generate.
Yes - cron is running:
Code:
root@glebel:/etc/init# ps aux | grep cron | head -1
root 10221 0.0 0.0 3836 1008 ? Ss 08:44 0:00 cron
I admit I know nothing about upstart. So I read the screen and follow the output:
Code:
root@glebel:/etc/init# /etc/init.d/cron status
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron status
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the status(8) utility, e.g. status cron
cron stop/waiting
root@glebel:/etc/init# status cron
cron stop/waiting
I have no clue as to what I need to do to get cron to actually work. I read your post, about the console - but since neither of these have anything to do with a display, I just wanted to find out if there is some magic to getting cron functionality back. The same cron entries work in both via "/etc/crontab" as well as with "/usr/bin/crontab -e" on my laptop which is still running Hardy and init.d scripts.
Any pointers for an upstart clueless noob?
Bookmarks