Auto reboot

Discussion in 'Tomato Firmware' started by Jade767, Jul 5, 2007.

  1. Jade767

    Jade767 LI Guru Member

    With DD-WRT I could reboot my router everyday which I liked. I haven't seen this option in tomato? Is there any way to do this?
  2. roadkill

    roadkill Super Moderator Staff Member Member

    you can issue reboot command via cron
  3. GeeTek

    GeeTek Guest

    If he knew the cron command and how to use it, he would have never axed the question. If you want to look smart, you did it. If you want to help, then help.
  4. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    I haven't tried setting up any scheduled jobs but this is taken from the wiki
    To step you in the right direction Jade767, you'll have to ssh/telnet into the router and see what cru will offer you.
  5. The_Unknown

    The_Unknown Network Guru Member

    You need to insert this line into your Init Script:

    cru a reboot "* * * * * reboot"
    The 5 stars mean (from left to right):

    - minutes
    - hour (0-23)
    - day of month
    - month
    - day of week (0-sunday, and so on)

    For example, to reboot the router at 3:30 AM everyday:

    cru a reboot "30 3 * * * reboot"
  6. azeari

    azeari LI Guru Member

    well why would you want to reboot your router everyday anyway? personally i haven't seen the need to do that in tomato (=
  7. Jade767

    Jade767 LI Guru Member

    Thx that does the trick :D


    I just like to have my ram resetted everyday, nothing special ;)
  8. danix71

    danix71 LI Guru Member

    And if I want the router to stay off (rebooted) 30 sec and after that a connect? What line (sleep ?) to put and where? Thanks !
  9. yaqui

    yaqui LI Guru Member

    Go out and buy a lamp timer switch... set it to shut power off for a certain period, for a certain length of time, then come back on etc...
  10. danix71

    danix71 LI Guru Member

    Are you jockin' right (you pulled my leg right) ?:tongue:
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice