Jump to content
  • Advertisement
Sign in to follow this  
Prod

Scheduling

This topic is 4191 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
XAI: I thought it did as well, but I can't seem to find any option that would do it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!