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.

/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:
    6
    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:
    447
    Likes Received:
    4
    Trophy Points:
    18
    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.
     
Loading...

Share This Page