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 <[EMAIL PROTECTED]>: > 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 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php