? Add a Task Scheduler task to check for a failure condition and attempt to execute the application
again when Task Scheduler detects an error.
? Provide administrator notification so that the administrator can restart the application.
Each of these options has advantages. For example, letting the task fail gracefully means that the
system will be in a known state the next morning and you can try to discover what error occurred.
Unfortunately, letting the task fail gracefully is no longer an option for many enterprises where
24/7 operation is the standard and you must provide five 9??™s of reliability (in short, an average of
5 minutes of downtime during an average year). Including a loop in the batch file or script has the
advantage of automatically restarting the task without bothering anyone. The application can
attempt to succeed all night long. Unfortunately, you can still arrive at work the next morning to a
nasty surprise and now you won??™t have that first failure to examine??”the reason the application
failed can remain a mystery. Having Task Scheduler check for the error is a great idea, but now you
have to create a batch file or script to check for the error and act on it by starting the application.
Pages:
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551