cron job confusion

Status
Not open for further replies.

GtoXic

x10 Support
Messages
636
Reaction score
17
Points
0
I am trying to create a cron job, I have got it to run at midnight every day and the file name is just .php. The command I am using is: php www/.php I have spoke to a friend who is doing a similar website on a different host and he uses php home/{USRENAME}/public_html/{filename}.php I was wondering do I use just www/.php or root/{x10username}/www/{filename}.php? Please reply ASAP this is an urgent request and your help would be widely apprectiated.

Thanks, Frozen01
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
Hi,

You should use: php /home/{USRENAME}/public_html/{filename}.php
 
Status
Not open for further replies.
Top