/usr/bin/lynx CronJobs not working?

Speedy059

Well-Known Member
Jul 10, 2007
55
1
58
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 ?
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
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 ?
Check the cron daemon logs at /var/log/cron and see if you get any error for this cron.