Windows Server Task Scheduler: Running scheduled executable fail-safe?

Posted by Mikael Koskinen on Server Fault See other posts from Server Fault or by Mikael Koskinen
Published on 2012-09-24T07:53:31Z Indexed on 2012/09/24 9:39 UTC
Read the original article Hit count: 305

I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical files. But how can I react if the virtual server running the executable goes down? At no point there shouldn't be more than 15 minutes break between the runs.

As I'm using Windows Server and its Task Scheduler, I wonder is it possible to create some kind of a cluster which automatically handles the situation? The problem is that the server in question is running on Windows Azure and I don't think I can create actual clusters using the virtual machines.

If the problem can be solved using a 3rd party tool, that's OK too. To generalize the question a little bit: How to make sure that an executable is run once in every 5 minutes, even if there might be server failures?

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about scheduled-task