Cron Job restart Home Page › Forums › Network Management › ZeroShell › Cron Job restart This topic contains 0 replies, has 0 voices, and was last updated by saadakhtar 11 years, 8 months ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts June 29, 2007 at 3:43 pm #40670 saadakhtarMember hi, is there anyway to add system restart to cron job list scheduled for a specific time of the day. My hotspot is working fine but it frooze up last night and had to restart it to get everyone connected. checked logs but found nothing. regards June 29, 2007 at 4:02 pm #45532 imported_fulvioParticipant 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 Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.