harry.mat

Registered
Apr 7, 2012
3
0
51
cPanel Access Level
Website Owner
I tried a lot of methods but ended up with nothing in hand..My simple target is to reset a variable to zero at the end of the day.

i checked the location of php as "which php" and "whereis php"

which resulted into /usr/bin/php

here are some of things i tried..

/usr/local/bin/php -f /home/USERNAME/public_html/developer3/crons/filename.php

/usr/bin/php -f /home/USERNAME/public_html/developer3/crons/filename.php

php -q /home/USERNAME/public_html/developer3/crons/filaname.php

/usr/bin/wget -O http://subdomain.sitename.com/crons/filename.php

for quick results, i kept the timming as every minute to execute the code. i could successfully execute the code as

http://subdomain.sitename.com/crons/filename.php

i am not the admin of the cpanel, so don't have the ssh access, please guide me..:confused:

please guide me.