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.

Problem in Cron Jobs

Discussion in 'General Discussion' started by bluelobs, May 8, 2008.

  1. bluelobs

    bluelobs Registered

    Joined:
    Apr 19, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I am a using cpanel and WHM on my own dedicated server.
    I am getting an error while running cron jobs:

    i'm using this command.

    "GET http://www.ptcworld.co.in/pemailcron2.php 2 > /dev/null"

    it runs every 10 mins. and so i am gettint an error message every 10 mins stating that


    /bin/sh: GET: command not found


    Please help me to solve this problem
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    GET belongs to perl-libwww-perl package which you may not have installed:

    Simply run:
    yum install perl-libwww-perl
     
Loading...

Share This Page