RE: [PHP] Re: Running PHP as a cron job....

From: Date: Mon, 09 Jul 2001 22:41:30 +0000
Subject: RE: [PHP] Re: Running PHP as a cron job....
Groups: php.general 
Request: Send a blank email to php-general+get-57026@lists.php.net to get a copy of this message
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:liljim@btconnect.com] Sent: Monday, July 09, 2001 3:54 PM To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#57026) next »