I created a text file with only
Code: Select all
*/2 * * * * /usr/local/apache/htdocs/temp/testcron.phpand I save that as crontest.txt
I want it to run every two minutes so I can test it quickly for now.
I open up my command line on the unix box running FreeBSD and type in crontab crontest.txt
Then I type in crontab -l and I see my cron job come up.
I set the permissions on the testcron.php file to 777 and added this at the top of the script:
#!/usr/local/bin/php
Its just not running. Any ideas as to why? I thought I followed all the steps. Thanks!