Im trying to make cron run a PHP file every 5 minutes, this is the command im currently trying to use.
*/5 * * * * wget http://mysite.com/mail.php
This is the error i am getting in my mailbox
Resolving mysite.com... 188.8.131.52
Connecting to mysite.com[184.108.40.206]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
04:20:59 ERROR 404: Not Found.
As you can see cron automatically put '' after the source path, thats why it cant be found. I am suspecting the extra blank line i put in the cron command is causing this, but when i leave the blank line out of it, the cron command does not run at all.
Thanks for any help in advance