Cron jobs general enquiry

I hope one of your clever guys can help me.

I have a link to a php script I want to run on mysite for dolphin7.0.3 e.g.:

http://www.mydomain.com/modules/nextgate/traffic_generator/cronjob/traffic_cron.php

When I run this scipt in my browser it executes properly and everything works, but as soon as I put it into a cron job it doesn't work. See the example of cron jobs I have been using

/usr/bin/php -q /home/mydomain/public_html/modules/nextgate/traffic_generator/cronjob/traffic_cron.php

lynx -dump http://sxtreem.com/modules/nextgate/traffic_generator/cronjob/traffic_cron.php >/dev/null

What is the difference between these two cron's and why can't I get it to work once I try and execute it through the cron job?

Regards

Darkestar Holdings www.darkestar.com
Quote · 12 Oct 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.