Sign in to follow this  
Prod

Scheduling

Recommended Posts

Prod    134
Lately, I have been writing a small program in C to run a few maintenance programs once a month for me because I tend to forget. Currently, I have it set up to run with windows task scheduler, which is great, except if the machine is turned off during that time. A solution I came up with was put some code in place to check if it was run in the last month, and if it hasnt, go ahead and run it. The only thing I dislike about this approach is that I think I would need to throw it into startup, and startup programs annoy me :) If anyone has any other ideas, I would love to hear them.

Share this post


Link to post
Share on other sites
Xai    1848
Doesn't the scheduler itself support some setting controls that it can either ignore past events or launch them at first chance?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this