I am trying to setup a simple cron job to run a PHP script, but nothing seems to work. I have tried:
1) * * * * * php /home/user/www/crontest.php
2) * * * * * path_to_php /home/user/www/crontest.php
3) * * * * * wget http://www.domain.com/crontest.php
4) * * * * * lynx --dump http://www.domain.com/crontest.php
All of the above commands work when I run them from the command line (the php script just sends an email to me), but nothing happend when I try to add it to the crontab. I have tried editing the crontab with #crontab -e from the command line, as well as creating a cron job in the cPanel interface. I think the crontab might now be running. Any ideas?