crontab and reboot

Oliver Marshall Oliver.Marshall at g2support.com
Thu Nov 25 11:35:15 UTC 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

or

01 /4 * * * shutdown now -r

(note the lack of root).

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

Olly

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101125/d9851d15/attachment.html>


More information about the ubuntu-users mailing list