1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

scheduler not auto rebooting

Discussion in 'Tomato Firmware' started by The Black Rock, Oct 4, 2010.

  1. The Black Rock

    The Black Rock Networkin' Nut Member

    I am using Tomato 1.28 on a Linksys WRT54GL router, and I've set it to auto reboot every day at 4:45AM; but when I login it says that the uptime is into the days. I don't want this, I want the entire system to reboot everyday. Yes, the check enabled checkbox is checked. What am I doing wrong here?
     
  2. Low-WRT

    Low-WRT LI Guru Member

    Try rebooting the router manually. You may have to do that first for the router to pick up the new setting...
     
  3. The Black Rock

    The Black Rock Networkin' Nut Member

    I tried that, but it didn't work. I am trying to setup script using init levels to auto reboot.

    I want the system to reboot everyday at 4:45AM. This is what I've got so far:

    45 4 * * * root init 6

    Should I put this in the init tab or in the Shutdown tab?
     
  4. TexasFlood

    TexasFlood Network Guru Member

    Here is an init script I've used in the past to reboot my router on a schedule by adding it to cron using the cru command. It worked although I'm not currently using it. Reboots at midnight every day as presented here. Adjust it as needed using the normal cron syntax.
    Code:
    cru a RebootRouter "0 0 * * * /sbin/reboot >/dev/null 2>&1"
     
  5. The Black Rock

    The Black Rock Networkin' Nut Member

    Thanks TexasFlood!

    Real quick, do I put the code in on the init tab or on the shutdown tab?
     
  6. TexasFlood

    TexasFlood Network Guru Member

    Init...
     

Share This Page