|
-
Jan 11th, 2010, 12:16 PM
#1
Thread Starter
Hyperactive Member
A program that runs all the time
Hi there,
I am looking to create a program that runs all the time and wakes up every 15 minutes or so and runs a task. The task is simple, check a table and send out emails to the appropriate people.
I am looking for some feedback on how this is done. I have never had to do something like this, if it was just something that needed to run every night I would simply use windows task scheduler but it needs to run more frequently than that so I am not sure what the best way to approach it is.
Anyone have any experience with this? What are your thoughts?
Thanks!
-
Jan 11th, 2010, 06:53 PM
#2
Re: A program that runs all the time
One option would be to create a Windows Service and use a Timer with its Interval set to 15 minutes and its AutoReset set to True, then handle the Elapsed event.
-
Jan 11th, 2010, 10:03 PM
#3
Thread Starter
Hyperactive Member
Re: A program that runs all the time
I saw that... It is frustrating cause I have Visual Studio Standard (MAPS) and you need visual studio professional edition.
You can do it by hand but that is a little time consuming.
Thanks
-
Jan 11th, 2010, 10:27 PM
#4
Re: A program that runs all the time
 Originally Posted by r0k3t
I saw that... It is frustrating cause I have Visual Studio Standard (MAPS) and you need visual studio professional edition.
You can do it by hand but that is a little time consuming.
Thanks
I've never used VS Standard but I have used VB Express and basically all that's missing is the project template. I'm not sure whether all versions support it but, with VS Pro at least, you can create a project and configure it as desired, then export it as a template. For VB Express 2005 I found such a template on the web. I'd guess that you could find a similar template for 2008, or get someone you know who has VS Pro to create one for you.
-
Jan 11th, 2010, 11:47 PM
#5
Addicted Member
Re: A program that runs all the time
Have you seen this by VBDT?
Using:VS 2008 Team System :: SQL Server 2005 Standard Edition.
----------------------------------------------------------------
-
Jan 12th, 2010, 10:01 AM
#6
Thread Starter
Hyperactive Member
Re: A program that runs all the time
No but that looks promising... Thanks. I will look into it more.
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
|