RE: [PHP] Hello ! How to write a programme in PHP which executes a routine at a given time ?

From: Date: Thu, 28 Nov 2002 17:48:49 +0000
Subject: RE: [PHP] Hello ! How to write a programme in PHP which executes a routine at a given time ?
Groups: php.general 
Request: Send a blank email to php-general+get-126425@lists.php.net to get a copy of this message
Hi Jonathan, > Do you mind to tell me how to make a PHP programme > to execute a centian routine at a given time ? Thank you ! PHP doesn't have anything built in that'll do this for you (at least, nothing that I'm aware of). The best solution is to call your script from your OS's scheduler - cron under unix/linux, or task scheduler in Windows. I usually trigger the script with lynx and pipe it to /dev/null, but if you have PHP compiled as a standalone instead of a server module, you could call it directly. Cheers Jon

« previous php.general (#126425) next »