The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

GET command

Discussion in 'General Discussion' started by geraldo, Aug 24, 2007.

  1. geraldo

    geraldo Member

    Joined:
    May 1, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I have a script that requires a CRON with the following command:
    GET http://sis.gigahost.com.br/robot.php

    It always worked fine on my cpane/whm server. But the harrdisk crashed on this machine and we need to install a new one and restore backups. After this operation this cron is not working anymore, it returns:

    /bin/sh: GET: command not found

    This is script is a cron that BILL customers, without it, they dont receive invoices.

    Anyone here knows how to fix this?

    thanks
    Gerald
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    IIRC, lynx http://sis.gigahost.com.br/robot.php should yield the same result.

    If this script is local (on the same machine), you may want to take that script outside of public html and do php -q /path/to/script.php instead.
     
  3. geraldo

    geraldo Member

    Joined:
    May 1, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    solved.

    thank you so much
     
Loading...

Share This Page