Re: Timer in Console application
- From: "Simon Verona" <nomail@xxxxxxxxxx>
- Date: Thu, 29 Dec 2005 14:38:20 -0000
why not just replace with an infinite loop with a sleep in?
"Aart Nicolai" <aartnicolai@xxxxxxxxx> wrote in message
news:1135859142.317096.322660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> I have developed a vb.net console application which will run some code
> every [x] seconds. To get this working I used a timer "System.Timers".
> When I start my console application it exits within a second. So I
> added the line: "Console.Read()". Everything seemes to run fine but
> after a few days the application stopped. Without an error.
> I think it has something to do with the lifetime of the
> "Console.Read()". Is this right?
>
> Is there another trick to solve this timer problem?
>
> Thanks,
>
> Aart
>
.
- Follow-Ups:
- Re: Timer in Console application
- From: Simon Verona
- Re: Timer in Console application
- References:
- Timer in Console application
- From: Aart Nicolai
- Timer in Console application
- Prev by Date: Re: "Visual Web Developer does not support creating Web sites on a SharePoint Web server"
- Next by Date: Converting to ISO 8601 Format
- Previous by thread: Re: Timer in Console application
- Next by thread: Re: Timer in Console application
- Index(es):
Relevant Pages
|