Scheduled task programming
Posted on 2006-05-11
I'm looking for a solution to a recurrent problem, the task scheduling system under windows. I want my application to execute a certain set of functions at a given moment in a week, every week. Like, every monday morning, I want to execute my own function "functionA()".
How should I do this? I am usually using C/C++ with or without the .NET framework.
One solution would be to implement a timer for like, 5 seconds and check the time every time the timer goes to zero, but that doesnt seem to be a great solution so if any of you have a good solution to that problem please let me know.
Also, I know about the windows task scheduler, but it only allows me to run compiled executables.