crontab and reboot

Oliver Marshall Oliver.Marshall at
Thu Nov 25 11:35:15 GMT 2010

Hi chaps

If I want to schedule a reboot every four hours, do i need to enter the command as;

01 /4 * * * root shutdown now -r


01 /4 * * * shutdown now -r

(note the lack of root).

I'm using the latter but it's not working.


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the ubuntu-users mailing list