Re: VB.Net Console app needs timer



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

.



Relevant Pages

  • Re: VB.Net Console app needs timer
    ... To repeat a task: In the task scheduler, after you create the task, go ... There's a checkbox to ... windows service instead of a console ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Schedule in asp.net
    ... You probably want to look into using a Windows service application. ... you can either schedule it through the Task Scheduler in Windows or you ... > creates a .csv file into a specific folder on the server. ... > I want to automate the process to run every day automatically. ...
    (microsoft.public.dotnet.faqs)
  • Re: Time related functionality...
    ... That sounds like a job for the task scheduler or a Windows service rather ... clock ticks past midnight into a new day. ... fire the one time each day. ...
    (microsoft.public.dotnet.framework.aspnet)
  • How to loop in Windows Service?
    ... I have a need to write a Windows Service application in VB.Net that ... repeat. ... I can't put a loop like this in the OnStart event handler, ... instead of a Sleep, but I don't want the processing to occur every 10 ...
    (microsoft.public.dotnet.languages.vb)
  • time
    ... of a FOR LOOP. ... Unless anyone has used Edanmo's Task Scheduler. ... create tasks using the scheduler but I can figure out how to repeat a a task ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)