Reply To: Cron Job restart

Home Page Forums Network Management ZeroShell Cron Job restart Reply To: Cron Job restart

#45532

imported_fulvio
Participant

I have not compiled and installed the crond daemon yet.
At the moment the workaround is to put in the /etc/rc.local the following line:

( while true ; do [ $( date +”%H:%M” ) == “hh:mm” ] && reboot ; sleep 30 ; done ) &

in which hh:mm is time you want the reboot.
Another solution is to put in the /etc/rc.local the command:

shutdown -r hh:mm &

but in this case the manually shutdown and reboot operations do not work.

To add commands in the /etc/rc.local you have to use the vi editor if you use the releases beta1-4 or just to use the web gui in the section
[Setup]->[Startup] if you use the release 1.0.beta5.

Fulvio