Re: Windows service - Nightly task
- From: arun.hallan@xxxxxxxxx
- Date: 14 Sep 2006 10:55:14 -0700
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
.
- Follow-Ups:
- Re: Windows service - Nightly task
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Windows service - Nightly task
- References:
- Windows service - Nightly task
- From: arun . hallan
- Re: Windows service - Nightly task
- From: Nicholas Paldino [.NET/C# MVP]
- Windows service - Nightly task
- Prev by Date: Re: Converting Datatypes
- Next by Date: ComVisible and generics
- Previous by thread: Re: Windows service - Nightly task
- Next by thread: Re: Windows service - Nightly task
- Index(es):
Relevant Pages
|