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

Automatic reboot?

Discussion in 'Cisco/Linksys Wireless Routers' started by pagefault, Jul 27, 2004.

  1. pagefault

    pagefault Network Guru Member

    I have a WRT54G 2.0 running Satori-4.0 v2.07.1.7sv. I starts to get slow after a few days. How can I program it to reboot everyday at 6am. Thanks
     
  2. vtrac

    vtrac Network Guru Member

    You can set this as a cron job.. I'm not sure how with the Satori's version of linux. I'll look into it in a few.
     
  3. littlewhoo

    littlewhoo Network Guru Member

    You'll have to add a line like this to /tmp/crontab

    00 12 * * * root /sbin/reboot

    This will reboot the router every day a 12AM.
    To be sure, that this entry survives the reboot, you should add this line to crontab via rc_startup.
    So rc_startup should look like this

    sleep 15
    echo "00 12 * * * root /sbin/reboot" >> /tmp/crontab

    I'm not sure, if this is working in Satori, as some people are reporting, that cron in Satori is broken.

    littlewhoo
     

Share This Page