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!

/usr/bin/lynx CronJobs not working?

Discussion in 'General Discussion' started by Speedy059, Mar 26, 2009.

  1. Speedy059

    Speedy059 Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    56
    I have just finished setting this server up with cpanel/whm and when I try creating a cronjob in cPanel it doesn't seem to work.

    I have the cronjob set to run every 2 minutes to visit a web file to run a cronjob, EX:

    /usr/bin/lynx http://www.whatever.com/cron.php

    However the cronjob doesn't seem to be executing. When I go into SSH and do "/usr/bin/lynx http://www.whatever.com/cron.php" it works. Why wont it work in cPanel cron jobs? Does the hosting account not have access to /usr/bin/ynx ?
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    458
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Check the cron daemon logs at /var/log/cron and see if you get any error for this cron.
     
    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