Should it be a Windows Service?

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
 
J

John Timney \(ASP.NET MVP\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top