Re: Windows service - Nightly task



Thanks Nicholas.

Are there any reliability issues around windows services?



Nicholas Paldino [.NET/C# MVP] wrote:

Arun,

This would be overkill.

What you should do is create a command line exe which will make the call
once, and then do whatever work you need it to do.

Then, create a scheduled task to run every night at 10 PM and have it
call your executable.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

<arun.hallan@xxxxxxxxx> wrote in message
news:1158251891.196740.77410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I want to run a webservice method every night at a specified time, say
10pm.

The current way i thought of doing this is to have a windows service
and a timer which checks the time every minute and when it gets to
10:00 it fires off the webmethod.

Is this the best way to do it? If not, does anyone have any
suggestions?

Thanks,
Arun


.



Relevant Pages

  • Re: Windows service - Nightly task
    ... Are there any reliability issues around windows services? ... I want to run a webservice method every night at a specified time, ... 10:00 it fires off the webmethod. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Windows service - Nightly task
    ... This would be overkill. ... What you should do is create a command line exe which will make the call ... I want to run a webservice method every night at a specified time, ...
    (microsoft.public.dotnet.languages.csharp)
  • Trouble installing Windows Service created with VB.NET
    ... I am trying to figure out how to make Windows Services using VB.NET. ... have had to manually convert from longname format to, I am assuming, 8.3 ... I seem to remember their being some command line command that can do ... directory that Visual Studio puts my files in, I would like to know the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Adding another EXE to a windows service
    ... You can just go the File System ... Definitive Guide to Windows Installer ... > I created a windows services with an msi file. ... > I have another small vb.net exe that I would like to install when I ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Adding another EXE to a windows service
    ... You can just go the File System ... Definitive Guide to Windows Installer ... > I created a windows services with an msi file. ... > I have another small vb.net exe that I would like to install when I ...
    (microsoft.public.dotnet.general)