Re: Running a certain PHP function at specified intervals!
| From: | Daniel Convissor | Date: | Wed, 11 Oct 2000 14:59:44 +0000 |
| Subject: | Re: Running a certain PHP function at specified intervals! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19612@lists.php.net to get a copy of this message | ||
Hi Romi:
> How can I make a certain php function run at SPECIFIED INTERVALS on Windows 95 / 98 / NT
> machines or maybe on Linux / UNIX as well? It's something like, running a daemon or a service
> but what language should I use to connect to PHP function and call it at the specified intervals?
[NB: Your emails are going out with line wrapping. Makes them harder to
read and quote for replies. See how it's all on one line and my email
program has wrapped it for output so everything after the first line is not
quoted? Anyway...]
If PHP's installed as a standalone binary (ie CGI mode) you can use scheduler
in Windows or cron in Linux to call your script using something like
"c:\php\php.exe d:\bat\script.php"
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
More than just answers. Solutions. (SM)
http://www.analysisandsolutions.com/
4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409