i will have a c# application that will get data from a timeclock and send an email to every employee biweekly.
what are the advantages to having the application automatically run as a service?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It doesn’t require a user to be logged in, and can be configured to run under an account/permission set of your choice. Applications, such as this one (from the description), which are meant to be “always-on” tend to make the most sense as a service.
However, if you are doing something that will run biweekly, you might also want to consider a console application running as a scheduled task. This has the advantage of allowing the app to be run as needed, and not stay resident in memory. This is better in terms of system resource utilization. It also makes “reconfiguration” of the schedule very easy, since it requires no change in the application itself.