hi,
i am running ubuntu server 11.10 with no problems for now.
I want to restart my server every day at 1AM automaticaly, is it posible and how?
My server is running 24h at day. and i just want to restart it daily one time.
hi,
i am running ubuntu server 11.10 with no problems for now.
I want to restart my server every day at 1AM automaticaly, is it posible and how?
My server is running 24h at day. and i just want to restart it daily one time.
Security - a Journey not a Destination
Hi Mandza
Sounds like a funny thing to do to me, but simple enough. You use root's crontab to reboot. Edit it with
And addCode:sudo crontab -e
Or perhaps more elegantly:Code:0 1 * * * /sbin/reboot
Hope that helps. Why do you want to reboot it?Code:55 12 * * * /sbin/shutdown -r 01:00 'Daily reboot'
Kind regards,
Jonathan.
Last edited by Jonathan L; November 15th, 2011 at 05:58 PM.
Thank you very much, it was very helpfull for me.
Security - a Journey not a Destination
Bookmarks