Should it be a Windows Service?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have to run a scheduled task once a year. Should I build a Windows
Service to do this? So basically the service would always be running and a
timer would poll every minute to determine to execute the task?

I'm looking for the best practices approach.

My application is a distributed C# WinForms application using Remoting. The
schedule task would only run on the Application Server. It would call a
method within the business logic.

Thanks,
Jake
 
its a bit overkill to run this as a service. Why not just create it as a
console app and use the windows scheduler to execute it, you could even
provide the credentials to run it from.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top