From: Gilles Ganault on
Hello

As a work-around to solve an occasional application lock-up, I'd like
to gracefully reboot a FreeBSD 6.3 x86 host every night at midnight.

Is adding this line to crontab the right way?

0 0 * * * root /etc/rc.shutdown

OR

0 0 * * * root shutdown -r now

Thank you.