Cron Jobs in Cpanel

Status
Not open for further replies.

Xrproto

Waste of e-space
Aug 1, 2006
1,871
13
0
Does anyone know how to set up a cron job for a php script in cpanel?

I've never set up a cron job before.
 


the command to execute any php script is very simple:
php /location/of/the/script

that will automatically call the php rendering engine, no need for wget
 
the command to execute any php script is very simple:
php /location/of/the/script

that will automatically call the php rendering engine, no need for wget

I haven't set it up yet so when you say "/location/of/the/script"

Would that be "/public_html/somefolder/somefolder/script.php"?
 
Also, do I have to put anything in the script I plan on executing or do I just put that command in the cron job?
 
Status
Not open for further replies.