I've installed one script [php script used for BH SEO purpose] , in which user manual suggest to set up a cron job for this line to execute after every 6 hours- php -q/home/myusername/public_html/rss_pinger.php [there is a blank space between php and -q] I've entered my email while setting up the cron to see the result and i am getting this error report after every 6 hours-- Where i've gone wrong??
looks like you really are missing a space: php -q /home/my_user_name/public_html/rss_pinger.php If need be put an extra space between -q and /
Yes, maybe you missed some space, if it doesn't work you can try one of these commands. 1. /usr/local/bin/php /home/username/public_html/yourfolder/yourfile.php 2. GET http://www.DOMAIN.com/yourfolder/yourfile.php > /dev/null 3. lynx -dump http://DOMAINNAME.com/yourfolder/yourfile.php > /dev/null 4. curl http://www.DOMAIN.com/yourfolder/yourfile.php > /dev/null 5. php public_html/yourfolder/yourfile.php 6. php -q /home/USERNAME/public_html/yourfolder/yourfile.php 7. cd /home/ USERNAME /public_html/yourfolder ; /usr/local/bin/php /home/ USERNAME /public_html/yourfolder/yourfile.php 8. php -f /home/www/index.php 9. php -q /home/username/www/yourfolder/yourfile.php Code (markup): Sometimes different hosting require a different cron commands, I have hosted my sites in a few different host and usually I use command number 4 or 6 to make the cron work.