In most cases, you??™ll find that Task Scheduler is as reliable as the commands
that you automate with it. In other words, Task Scheduler will start the command on time as long
as no outside influence prevents it and you consider any local requirements (such as setting the
computer clock correctly). However, starting the application is the least of your worries.
Using the Task Scheduler assumes that you??™ll leave your computer to run independently at
some point??”usually after hours, when you??™ve gone home for the day or even left town for a vacation.
Even though the computer is following your instructions (to the letter mind you), you aren??™t
there to monitor it. This chapter discusses a number of techniques you can use to reduce risk, but
not eliminate it. Assuming that Task Scheduler starts the task on time and with all of the required
information, you still have to consider failure of the application itself. When all or part of an after
hours processing task fails, you have four choices:
? Let the task fail gracefully and fix it when you arrive the next morning.
? Create a batch file or script loop that automatically restarts the processing after a failure.
Pages:
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550