Re: Windows service - Nightly task
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Sep 2006 12:44:14 -0400
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: arun . hallan
- Re: Windows service - Nightly task
- References:
- Windows service - Nightly task
- From: arun . hallan
- Windows service - Nightly task
- Prev by Date: Auto-resizing a listview column
- Next by Date: Re: statics & memory
- Previous by thread: Windows service - Nightly task
- Next by thread: Re: Windows service - Nightly task
- Index(es):
Relevant Pages
|