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

Scheduler not working!

Discussion in 'Tomato Firmware' started by amitava82, Mar 3, 2010.

  1. amitava82

    amitava82 Addicted to LI Member

    I have the following code in custom 1 scheduler
    /usr/bin/wget --tries=3 --timeout=5 http://www.google.com -O /tmp/index.google &> /dev/null
    But no file is being created in /tmp/ even though Log says performing scheduled task. I can telnet to router and execute the same command and get the file /tmp/index.google
    What am I doing wrong? :confused:
  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Are you sure you can telnet to the router and that command works? It doesn't for me.

    The busybox version of wget included in Tomato doesn't recognize the --tries and --timeout options. Try getting rid of those.
  3. amitava82

    amitava82 Addicted to LI Member

    I removed /usr/bin and now it works!
    wget --tries=3 --timeout=5 http://www.google.com -O /tmp/index.google &> /dev/null

Share This Page