Re: VB.Net Console app needs timer
- From: "Mark S. Milley, MCSD (BinarySwitch)" <mark.milley@xxxxxxxxxxxxxxxx>
- Date: Fri, 06 Jul 2007 08:45:09 -0700
Hi Scott -
To repeat a task: In the task scheduler, after you create the task, go
to the task's properties, then click advanced. There's a checkbox to
Repeat the Task, and, conincidentally, the default is every 10
minutes.
My personal take on which timer you should use: I'm a purist, and I
would go with the System.Timers one, since you are not creating a
WinForms app. As I understand it, the Windows Forms version has more
overhead (not that most people care about memory usage these days.)
That said, unless you have some other reason to have your application
running all day long, I would do the scheduled task; if you would
prefer to have it running 24/7, maybe you should look into creating a
windows service (is this possible in express?) instead of a console
app....
Cheers,
-Mark
.
- Follow-Ups:
- Re: VB.Net Console app needs timer
- From: Mr. Arnold
- Re: VB.Net Console app needs timer
- From: rowe_newsgroups
- Re: VB.Net Console app needs timer
- References:
- VB.Net Console app needs timer
- From: Scott M.
- Re: VB.Net Console app needs timer
- From: Egghead
- Re: VB.Net Console app needs timer
- From: Scott M.
- Re: VB.Net Console app needs timer
- From: Al G
- Re: VB.Net Console app needs timer
- From: Scott M.
- Re: VB.Net Console app needs timer
- From: Chris Dunaway
- Re: VB.Net Console app needs timer
- From: Scott M.
- VB.Net Console app needs timer
- Prev by Date: Re: Detecting computer inactivity
- Next by Date: Re: VB.Net Console app needs timer
- Previous by thread: Re: VB.Net Console app needs timer
- Next by thread: Re: VB.Net Console app needs timer
- Index(es):
Relevant Pages
|