Setting up a cron job
Completed
I have set a test cron job up just to see how this works. Never used cron before. I set it for every 5 minutes, but when I use it properly in the future it will probably be set for once a day or something like that.
I uploaded cron.php file that sends me back a basic email.
In the command line in CPanel I entered the following.
Stars replace the username for obvious reasons.
/home/*********/public_html/cron.php
I don't seem to be getting any notification back.
Could somebody be kind enough to give me some tips on this.
For the command, you may need to put "php" in front of it.
Just the script by itself may not do anything, so it's worth trying that first.
For the command, you may need to put "php" in front of it.
Just the script by itself may not do anything, so it's worth trying that first.
I see so the command
php THEN THE PATH
It would be "php /home/*********/public_html/cron.php"
Matt
That worked, thank you very much.
Comments have been locked on this page!