RE: [PHP-DB] Scheduling php task

From: Date: Mon, 05 Mar 2001 12:59:25 +0000
Subject: RE: [PHP-DB] Scheduling php task
Groups: php.db 
Request: Send a blank email to php-db+get-7118@lists.php.net to get a copy of this message
You can compile it as an executable (not an apache module), then schedule it with cron. Run ./configure without the -with-apache= switch. It should reconfigure for "cgi mode" (I think that's what it's called). After you 'make' it you'll get an executable called 'php'. Use can use this to process you php scripts from the command line ('php test.php'). They just warn you not to put this in your web directory, because it can be used against you to compromise your security. Hope it helps, Mario -----Original Message----- From: Valerio Ferrucci [mailto:valfer@flashnet.it] Sent: Monday, March 05, 2001 7:38 AM To: php-db@lists.php.net Subject: [PHP-DB] Scheduling php task Does anyone know if is it possible to run a php script periodically (for example every night)? My system is Apache, LinuxPPC, php4 Thanks ================================================================== Valerio Ferrucci Tabasoft Sas valfer@flashnet.it http://tabasoft.ancitel.it taba@flashnet.it -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#7118) next »