daily reboot via cron

Not saying this is a good idea, but a client requested it… 0_o

Here is crontab -e
### Reboot the server every day at 3:00 am
0 3 * * * /sbin/shutdown -r now >/dev/null

or, if the want to call a reboot from script:

Here is reboot_server.sh
#!/bin/bash
/sbin/shutdown -r now

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....