Monday, 27 May 2013

OpenWRT is ignoring scheduled tasks?

OpenWRT is ignoring scheduled tasks?

My OpenWRT 10.03.1 Router (Linksys WRT160NL) is ignoring my crontab (set via System->Scheduled tasks). I want to reboot the router every night, since it tends to get flaky after some days. So I entered this in my tasks:
0 5 * * * reboot
I also tried
0 5 * * * root /sbin/reboot
but this was also ignored. Is there some kind of setting that I have to do, so that cron will be actually run? When I log into the router via ssh, and run ps, I don't see any cron process.

No comments:

Post a Comment