You can run the script from the command line, using php.exe. Wrapping this inside a .bat file you can schedule this task to run periodically, using the Windows Task Scheduler.
HTH Richy ========================================== Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 435 3504 Email: [EMAIL PROTECTED] -----Original Message----- From: Ziggi [SMTP:[EMAIL PROTECTED]] Sent: 06 February 2002 15:18 To: [EMAIL PROTECTED] Subject: [PHP-WIN] A good question to PHP gurus... Hi ! A good question to PHP gurus: Platform: PHP4/Win2k: How to: Execute a specific php script on a server side periodically? For instance - I would like to construct a mailing automaton sending mails on a basis of specific criteria to the customers of my client. He would like it to send mails only overnight and no more but a few mails per minute. I can write a good php script for database connectivity and mailing procedure itself, but I don't know how to force the server to run it periodically by itself. Any ideas ??? Please... Ziggi -- 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