Hi, I have script cron.php that I want to run in cron job. the path to the file is mywebsite/encan/cron.php
What is the correct writing of the path for cron job?
thanks
Hi, I have script cron.php that I want to run in cron job. the path to the file is mywebsite/encan/cron.php
What is the correct writing of the path for cron job?
thanks
Should be something like:
/usr/local/bin/php /home/"account name"/encan/cron.php
find out where the php binary is located
on my servers is located in
/usr/local/bin/php
then as the command, put this:
/usr/local/bin/php -f /home/your_username/public_html/encan/cron.php