Hi, recently switched from dd-wrt to OpenWrt (Openbreaker 14.07 with LuCI) and I'm really excited by the possibilities so far.
Ran into a little hiccup while trying to do a scheduled reboot today though.
As a test I added "x y * * * reboot" to Scheduled Tasks via LuCI, where x y were a couple minutes away from the current time.
Cron didn't reboot the router until I discovered that I had to restart Cron to force it to process the crontab change. That's a pretty minor bug.
The bigger problem was when it did finally work: After the router rebooted, it then rebooted again. And again. And again. It is as if the reboot happened so quickly that cron didn't get around to noting that it had already ran the command, so decided to do it again after the reboot.
So the router entered the wonderful world of infinite loops, and I had to reset the router and reconfigure it all again. I decided to see if I could replicate the issue so I again entered a scheduled task, but this time I used "x y * * * sleep 70 && reboot" to give myself some time to login and kill the process. Good thing I did, because it happened again. Fortunately with the sleep delay I was able to look up the process and kill it before the next reboot.
Anyone care to see if they can replicate this behavior and/or know a way to fix it?
Thanks,
Chris
(Last edited by ceb1970 on 27 Nov 2014, 07:15)