Forum Moderators: coopster

Message Too Old, No Replies

how to run a php scirpt Continuously.

         

satdmail

5:33 am on Dec 26, 2006 (gmt 0)

10+ Year Member



hi,

how to run a php scirpt Continuously which takes a value from mysql and call another php script.

thanks & regards,
sateesh

apsivam

9:37 am on Dec 26, 2006 (gmt 0)

10+ Year Member



use cron to run call the PHP script once in a minute if that is OK for you.

--
Cheers,
Sivanandhan, P. (a.k.a. apsivam)

mcibor

9:03 am on Dec 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What for do you want to do that?

Maybe there's a better way?

IanKelley

2:09 am on Dec 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes there is another way:

set_time_limit(0)

henry0

1:04 pm on Dec 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mcibor has a good question
Your quest will use lots of resources
may we know what you have in mind?

the_nerd

10:33 pm on Dec 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I once heard of a script that processed some database queries and then called itself - this way avoiding a time-out. Is that what your're looking for?