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

Cron problems with Thibor 14

Discussion in 'HyperWRT Firmware' started by cat101, Mar 24, 2006.

  1. cat101

    cat101 Network Guru Member

    Hi all, I'm trying to setup a nightly reboot script. I'm doing the following

    echo '00 6 * * * root /sbin/reboot' > /etc/cron.d/reset
    chmod oug+x /etc/cron.d/reset

    For some reason it does not work. I've seen people comenting on this forum that the solution is to have an startup script that just sleeps for 24hs and reboots.

    Do you have any better idea?

    Thanks

    Cat

    PS: My router is a WRT54G v2.2
     
  2. eq2675

    eq2675 Network Guru Member

    This works for me

    echo "35 2 * * * root /sbin/reboot" > /etc/cron.d/restart
     
  3. cat101

    cat101 Network Guru Member

    I tried this with no luck

    echo '10 6 * * * root /sbin/reboot' > /etc/cron.d/resetRouter

    Is it posible that the cron daemon is disabled? I see it running when I do ps, but maybe there is more to it...

    Matias
     

Share This Page