Re: Using PHP-Apache module with cron jobs

From: Date: Thu, 30 Nov 2000 13:34:31 +0000
Subject: Re: Using PHP-Apache module with cron jobs
Groups: php.general 
Request: Send a blank email to php-general+get-28019@lists.php.net to get a copy of this message
Addressed to: Iram Imtiaz <iramimtiaz@usa.net> php-general@lists.php.net ** Reply to note from Iram Imtiaz <iramimtiaz@usa.net> 30 Nov 00 02:56:02 MST > > Hi! > > I read your mail message about are using cron jobs for automated tasks > in the web application. This is *exactly* what we need to do. We have > PHP compiled as an Apache module, not CGI. How can we do the same > thing? We need DB connectivity to search emails and send out reminder > emails! Please reply soon. Easy solution: Use cron to execute lynx, and have it hit your php program via the web server. Better solution: Compile PHP as a CGI also. They are not mutually exclusive. This way you can just add #!/usr/local/bin/php -q as the first line of you php script and execute it directly. Rick Widmer Internet Marketing Specialists http://www.developersdesk.com

« previous php.general (#28019) next »