How to inplement a nightly process in .NET?
Posted
by
Abe Miessler
on Stack Overflow
See other posts from Stack Overflow
or by Abe Miessler
Published on 2011-02-02T22:51:39Z
Indexed on
2011/02/02
23:25 UTC
Read the original article
Hit count: 154
I have a set of tasks that I would like to execute every night.
These tasks include querying a database, moving and renaming some images and lastly updating a database table. My first thought had been to create a SQL Server job and use xp_cmdshell to move the files but after a bit of research i decided against it.
My question now is what is the best way to implement this as a .NET application? Should I create a Windows service? A console application that is scheduled to run once per night? Some other cool way that I don't even know about?
© Stack Overflow or respective owner