I've read multiple Cron tutorials including the one on this site and I can't get my scripts to run. None of the below permutations seem to work. The emails I receive say things such as "Input file not found." I've tried changing permissions; that didn't help.
I had them running every 5 minutes, but I switched them to every 5 hours until I can get this sorted out.
* */5 * * * php home/flyingt/public_html/count.php
* */5 * * * /usr/local/bin/php home/flyingt/www/aaa.php
* */5 * * * /usr/local/bin/php -q home/flyingt/public_html/count.php
* */5 * * * /usr/local/bin/php -q home/flyingt/www/aaa.php
Let's say I want to run the script at http://flyingtiger.exofire.net/aaa.php every 5 minutes. What do I need to do?
In case its relevant, here's the code. If I understand correctly, I should get an email that says "Hi" if I don't use the "-q" option:
<?php
echo "Hi";
?>
I had them running every 5 minutes, but I switched them to every 5 hours until I can get this sorted out.
* */5 * * * php home/flyingt/public_html/count.php
* */5 * * * /usr/local/bin/php home/flyingt/www/aaa.php
* */5 * * * /usr/local/bin/php -q home/flyingt/public_html/count.php
* */5 * * * /usr/local/bin/php -q home/flyingt/www/aaa.php
Let's say I want to run the script at http://flyingtiger.exofire.net/aaa.php every 5 minutes. What do I need to do?
In case its relevant, here's the code. If I understand correctly, I should get an email that says "Hi" if I don't use the "-q" option:
<?php
echo "Hi";
?>