WMIC JOB Call Create "C:\WINDOWS\SYSTEM32\DEFRAG.EXE",
0,16,FALSE,FALSE,"********180000.000000-420"
216 CHAPTER 8 PERFORMING TASK AUTOMATION
NOTE Server Core doesn??™t let you abbreviate day or month names. Previous versions of Windows
would let you use an abbreviation such as FRI for Friday. In some cases, you??™ll find that this
change breaks macros in Server Core that work fine in other Windows versions.
You don??™t obtain the same level of configuration features using AT that you would using the
graphical or SchTasks method. Many of the special configuration features that the graphical utility
supports are unavailable (they??™re available when you use the SchTasks utility).
The Scheduled Tasks window tracks jobs created using both the graphical and the command
line method. AT only tracks jobs that it creates. If you type AT at the command prompt and press
Enter, all you??™ll see are the AT jobs (including those created using the WMIC command). Figure 8.3
shows a typical example of the same jobs created using the graphical utility, SchTask, and AT. (The
graphical utility only works with the versions of Windows with a graphical interface, not with
Server Core.
Pages:
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541