Running a check at a certain time each day.
I am developing an application whereyby I want to run a check at 5pm each day. It will check if the next day is the due start of a project and if so send a notification email to the assigned developer, does anyone know the easiest way of doing this...thanks in advance ?
Re: Running a check at a certain time each day.
Implement a windows service and use a timer to schedule the event
Re: Running a check at a certain time each day.
Not sure what you mean by a windows service ?
Re: Running a check at a certain time each day.
Windows service is a application , which doesn't have a UI but runs constantly on the background. Read about creating windows service using vb.net.This link may help...
http://www.developerfusion.com/artic...ce-in-vbnet/2/
Re: Running a check at a certain time each day.
Sounds good but can I incorporate it into the Windows Application that I am currently developing or do I have to develop Windows Service seperately ?
Re: Running a check at a certain time each day.
Develope windows service as a separate project.It can be in the same solution as the windows application.
Re: Running a check at a certain time each day.
Okay, i'll give it a go, thanks for your help.
Re: Running a check at a certain time each day.
Sure ....and let me know if there are any issues...
Re: Running a check at a certain time each day.
There is no point in re-inventing the wheel if you are only doing this once. You already have a built-in scheduler in windows that can do the action part at x'o clock every weekday, you can write a small app that does the email part seperately and not have to have another windows service taking up processing time when you already have one.