PDA

View Full Version : How to set cron job



myplaces
11-09-2008, 06:53 AM
I need to set cron job to open one file (spider my site to index for searching)

Here http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=190 I read
that
From the cPanel, go to Cron jobs, select Standard, and enter (between the quotes) "/usr/bin/php -q /home/USERNAME/public_html/PathToFile" into the Command to run field. You may also want to adjust the settings specifying when to run the cron job. After you finished, click on the SaveCrontab button.

I have done this

But nothing works and I get e mail with text No input file specified.

And after some time i look what is entered, i see /ramdisk/bin/php5 -q NOT /usr/bin/php -q. I have entered /usr/bin/php -q


Could someone help where is problem and what to do?