[ubuntu-uk] Cron jobs not running?

Alex Birchall A.Birchall at mdx.ac.uk
Mon Nov 30 09:37:59 GMT 2009


Hello,

I should be most grateful for any tips on how to get cron jobs to run on
a Hardy Heron 8.04 server.

Basically, I want to reboot my server at a preset time once a week.
Currently, when I am logged in as root, crontab -l produces the
following:

DISPLAY=:0.0
# m h  dom mon dow   command
30 09 * * 0-6 bash /sbin/reboot

For the command to run, I have also tried leaving out "bash" and having
merely "./sbin/reboot" and "reboot".  But nothing works.

I added the line "DISPLAY=:0.0" as it was a suggestion I found on the
web when I googled this problem.

What am I missing, if anything?

Regards,

Alexander J Birchall
Library Systems Manager
Middlesex University
The Sheppard Library
The Burroughs
London NW4 4BT

Tel 0208 411 5235






More information about the ubuntu-uk mailing list