Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2003
    Posts
    16

    Default GET command

    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
    Geraldo Ramos
    www.gigahost.com.br

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by geraldo View Post
    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
    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. #3
    Member
    Join Date
    May 2003
    Posts
    16

    Default

    solved.

    thank you so much
    Geraldo Ramos
    www.gigahost.com.br

Similar Threads & Tags
Similar threads

  1. Top command not showing filenames in the command option (using mod_fcgid)
    By iNF3RN0 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-23-2010, 01:47 PM
  2. what is use of ci command
    By big_bull in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-28-2008, 01:01 AM
  3. Command
    By claubinho in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-14-2005, 10:45 AM
  4. What is the command to restart cpanel via the command line?
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-29-2004, 04:24 PM
  5. procedure for deleting perticular shell command from "history" command
    By aress24x7 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-05-2003, 11:06 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube