I am trying to load a cron job on my web-server. I want it to run a php script every 5mins. here is what I have
*/5 * * * * /usr/local/bin/php home/myusername/domains/servername.com/public_html/timecheck.php
But it doesn’t seem to work. Depending on the result of the script it should send an email. If I run the script by the url it works fine.
Might need a
/in front ofhome/..., depending on what user ID you’re running this under.