|
-
Aug 2nd, 2010, 04:16 AM
#1
Thread Starter
Member
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 ?
-
Aug 2nd, 2010, 04:24 AM
#2
Re: Running a check at a certain time each day.
Implement a windows service and use a timer to schedule the event
-
Aug 2nd, 2010, 04:27 AM
#3
Thread Starter
Member
Re: Running a check at a certain time each day.
Not sure what you mean by a windows service ?
-
Aug 2nd, 2010, 04:32 AM
#4
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/
-
Aug 2nd, 2010, 04:39 AM
#5
Thread Starter
Member
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 ?
-
Aug 2nd, 2010, 04:41 AM
#6
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.
-
Aug 2nd, 2010, 04:44 AM
#7
Thread Starter
Member
Re: Running a check at a certain time each day.
Okay, i'll give it a go, thanks for your help.
-
Aug 2nd, 2010, 04:52 AM
#8
Re: Running a check at a certain time each day.
Sure ....and let me know if there are any issues...
-
Aug 2nd, 2010, 05:25 AM
#9
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|