cronjob help

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
Would this be the right path to execute the script:

php -q /home/username/public_html/folder1/folder2/execute.php


It's the path I have told cronjob to use on my shared web hosting account.
 
I would use `pwd` in the same folder as execute.php and use that as your absolute path. If it is the same as above then I would assume that yes, that is the correct path.
 
Back
Top Bottom