Executing the batch file or script manually isn??™t such a big deal when you aren??™t doing anything
that will interrupt anyone else, but staying the weekend so you can execute a command is
undesirable to say the least. That??™s where the Task Scheduler comes into play. You can use the Task
Scheduler to execute reliable batch files or scripts automatically. In essence, you??™re asking your
computer to do the work for you??”imagine that, the computer working for you for once.
This chapter describes how the Task Scheduler performs its job, shows how you can schedule
tasks from the command line, and explores some productivity techniques you can use with this
form of optimization. You??™ll also discover a few problems with using the Task Scheduler and gain
an understanding of the kinds of tasks that work best with the Task Scheduler. Finally, you??™ll see
some new utilities that make the Task Scheduler easy to use from the command line. This chapter
doesn??™t explore the graphical utilities you can use to work with Task Scheduler because Server
Core doesn??™t support them.
In this chapter, you??™ll learn how to do the following:
?
Manage the Task Scheduler, applications, and associated service
?
Provide automation fault tolerance
The Task Scheduler Nightmare
Some people just don??™t get it when it comes to Task Scheduler.
Pages:
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510