Hi,
I got a small problem and I have searched the website on PHP CRON and every site I go to has the same info that does not work.
I need to run a file every min or so and the file lets say is mycronphp.php. I am told to run the php but my hosting company does not have php installed as cgi so I can't run
**** /usr/bin/php -q /home/usr/http/site/mycronphp.php >/dev/null
It also seems that my php is php3 or php4 and the path is at /usr/ports/lang/php4 but to this I have no access as if I try to run this it says access not allowed.
I have tried to run by using lynx, fetch, wget and still can't get the fill to do what is needed.
**** /usr/bin/fetch -o /dev/null http://foo.com/mahc/mycronphp.php 1>/dev/null 2>/dev/null
**** /usr/bin/lynx -dump http://foo.com/mahc/mycronphp.php >/dev/null
Wget would be the same as lynx, so where am I going wrong? Can anyone help on this?? Now the above crons work for others and I can't understand why they don't work for me
rexxx webmaster
I got a small problem and I have searched the website on PHP CRON and every site I go to has the same info that does not work.
I need to run a file every min or so and the file lets say is mycronphp.php. I am told to run the php but my hosting company does not have php installed as cgi so I can't run
**** /usr/bin/php -q /home/usr/http/site/mycronphp.php >/dev/null
It also seems that my php is php3 or php4 and the path is at /usr/ports/lang/php4 but to this I have no access as if I try to run this it says access not allowed.
I have tried to run by using lynx, fetch, wget and still can't get the fill to do what is needed.
**** /usr/bin/fetch -o /dev/null http://foo.com/mahc/mycronphp.php 1>/dev/null 2>/dev/null
**** /usr/bin/lynx -dump http://foo.com/mahc/mycronphp.php >/dev/null
Wget would be the same as lynx, so where am I going wrong? Can anyone help on this?? Now the above crons work for others and I can't understand why they don't work for me
rexxx webmaster