Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cron jobs don't work :(

Discussion in 'General Discussion' started by Radio_Head, Sep 4, 2002.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    Hello

    I tried to insert these cronjobs via Cpanel

    * * * * * GET http://www.domain.com/cgi-bin/cron.pl & /dev/null

    it doesn't work


    * * * * * perl /home/user/public_html/cgi-bin/cron.pl

    it doesn't work

    What I have to do to make cronjobs running ?


    (1) If I execute GET http://www.domain.com/cgi-bin/cron.pl & /dev/null from command line it works
    2) cron.pl is ch-moded 755)
    3) I am on redhat 7.2
    )


    Thank you !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    it could be a permission problem on cgi-bin ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    Anyone can help ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    OK , the solution was

    /etc/rc.d/init.d/crond restart


    now cron works fine :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice