"Hollow Quincy" <(E-Mail Removed)> wrote in message
news:740026a2-93f5-44a4-ad5b-(E-Mail Removed)...
> Hi,
>
> I would like to do some tasks every 3 minutes in asp.net application.
> In my hosting I can't run 'exe' program, can't run sql server job and
> can't use windows scheduler.
> How can I execute tasks every 3 minutes in asp.net application ?
> (I was wondering if I can do static Timer and run it every 3
> minutes... is it good idea ? )
>
> Thanks for help
Yes. There a number of ways, but the simplest is probably to start a new
thread (at application start-up), then leave it to loop doing what ever it
needs to do with a Threading.Thread.Sleep(180000) at the end or start of the
loop.
--
Brian Cryer
http://www.cryer.co.uk/brian