You should use Win2K's excellent task scheduling. Create an AT with the command "c:/php/php.exe c:/.../my_script.php" (adapt)
HTH Ignatius ____________________________________________ ----- Original Message ----- From: "Paolo Bonavoglia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 7:39 PM Subject: [PHP-WIN] Timed mailing: is it possible? > > I have PhP 4.23 installed as a SAPI extension of Apache 1.3.24 on > the Windows 2000 server of our school; everything works very well, but > there is a problem I wasn't able to solve: > > I have realized a Calendar system with a Paradox 9 data-base and a > few php web pages to access the calendar, add and modify events etc.etc. > (use ODBC) > Now I would like to have the system mail reminder e-mail or notify > new documents to a mailing-list at specified time (e.g. every day at 19:00, > every other day, every week ... two days before the event ...); I searched > the PhP manual on-line, but I didn't find anything good; maybe the new MCAL > functions group, but I have the calendar already working and wouldn't like > to make it all over again. What I need is just a "timer" function able to > mail a message (or do any other specified action) at a specified time. > > Is that possible with PhP? Has someone tried something of the > like? Any ideas? > > Thanks to whoever can help me. > > > Paolo Bonavoglia > -------------------------------------------------------------------------- - > Responsabile Lab.Informatica e sito Web > > Liceo Classico "Marco Foscarini" > Cannaregio 4942 > I 30121 VENEZIA - ITALY > > -------------------------------------------------------------------------- > Pagine Web http://www.liceofoscarini.it/ > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php