Ian,
I wouldn't use a windows service to do this, since it is a waste of
processing time for most of the day when you aren't performing the update.
Rather, you should create an EXE which will perform your update, and
then add the task to the Scheduled Tasks, setting it to fire at 4:00 every
night.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ian Walsh" <sp*******@tiscali.co.uk> wrote in message
news:90**************************@posting.google.c om...
Hi,
I'm a bit knew to events, so help would be appreciated. I'm developing
a windows service that needs to fire an AD update at a set time every
night (04:00).
I'm guessing I need to capture a system.timer event at that time and
then run my process. Beyond this I'm pretty clueless...
Has anyone got a sample piece of code that does something similar to
this, or can point me towards a decent example.
Cheers.