You can still run php... I put my cron scripts in a directory on the web
server, just makes sure they are all safe to run multiple times in case
someone finds it

then make a script that for each entry in that directory invokes the script.
mines in python so you just 
import urllib

and then for each file in the directory
urllib.urlopen ('<server name>/cron/<whatever>.php')

and make it run your python script nightly and it will run any php script
you put in that directory.

-----Original Message-----
From: James, Yz [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 3:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Running PHP as a cron job....


Thanks for all of your help on this.  My host admin have informed me that
php is installed only for the web, and not as a cgi, so that's what was
going wrong (it wasn't down to my own naievity afterall.....)

So, it's time to learn perl (or bash).

Thanks again for all your comments and help.

James.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to