You are here:  » Cron job to import updated feeds

Support Forum



Cron job to import updated feeds

Submitted by AD_Mega on Sat, 2007-03-10 18:38 in

I can't seem to get my crom job to work. I want to up date all my feed every night at 1am. This is what I have for my cron job.

php /home/megashop/ public_html/scripts/ import.php @ALL

the error its giving me is 'No imput file specified'

Submitted by support on Sat, 2007-03-10 18:43

Hi,

"no input file specified" is a PHP error meaning that it can't find the script you are asking it to run.

I notice from your post that there are spaces in the path to the script. Did you insert these when posting into the forum, or are they actually in your CRON job command line / automation script. The correct command line should be:

php /home/megashop/public_html/scripts/import.php @ALL

Cheers,
David.