Re: Repeating tasks by time,Can anyone help?
| From: | mhe at ruc dot dk | Date: | Mon, 02 Sep 2002 14:58:45 +0000 |
| Subject: | Re: Repeating tasks by time,Can anyone help? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8310@lists.php.net to get a copy of this message | ||
Don't make your php script resident in your memory. If you use linux, then use
cron to make your script run every 5 minutes.'
/Martin
Citat Nima Dezhkam <nima_dezhkam@yahoo.com>:
> Hello ,
> I have a question , How can we repeat a job by time in
> php? I mean does something like a timer exist in php,
> which can repeat a task for example in every 5
> minutes?
> And how can a program become resident on server, I
> mean I have to write a php file, which should be
> always active,it should have some timers(or with any
> other ways) so that in certain intervals it should
> make a query to the database.
> Can anybody help How I can implement such a thing?
> Thank you so much,
> N.Dezhkam.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
mvh
Martin Hjort Eriksen
Studenterrådet, Roskilde Universitetscenter