O'Reilly logo

Windows Vista Security: Praxisorientierte Sicherheit für Profis by Marcus Nasarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scheduling Maintenance Tasks
|
723
Conditions that qualify the conditions under which a task is started or stopped
Settings that affect the behavior of the task
Based on these properties, you can use Task Manager to create two types of tasks:
basic tasks and advanced tasks. Basic tasks have only triggers and actions, and are
meant to help you quickly schedule a common task. Advanced tasks have triggers,
actions, conditions, and settings, and are meant to be used by advanced users or
administrators.
Creating Basic Tasks
You can create a basic task by completing these steps:
1. Click Start and then click Control Panel. In the Control Panel, click System and
Maintenance and then click the Schedule Tasks link under Administrative Tools.
2. Right-click the Task Scheduler node and then select Create Basic Task. This
starts the Create Basic Task Wizard.
3. On the Create a Basic Task page, type a name and description of the task. Click
Next.
4. On the Task Trigger page, select a run schedule for the task. You can schedule
tasks to run periodically (daily, weekly, or monthly), or when a specific event
occurs, such as when the computer starts or when the task’s user logs on. Click
Next. The next page you see depends on when the task is scheduled to run.
Figure 20-23. Viewing your computer’s scheduled tasks
724
|
Chapter 20: Handling Routine Maintenance and Troubleshooting
5. If you’ve selected a daily running task, the Daily page appears, as shown in
Figure 20-24. Configure the task using these fields and then click Next:
Start
Use the Start options to set a start date and time.
Recur every
Allows you to run the task every day, every other day, or every nth day,
beginning with the start date you set. For example, if you want the task to
run every other day, you’d set the “Recur every...days” text box to 2 days.
6. If you’ve selected a weekly running task, the Weekly page appears, as shown in
Figure 20-25. Configure the task using these fields and then click Next:
Start
Use the Start options to set a start date and time.
Recur every
Allows you to run the task every week, every other week, or every nth week.
Days of the week
Sets the day(s) of the week when the task runs, such as on Tuesday or on
Tuesday and Friday.
7. If you’ve selected a monthly running task, the Monthly page appears, as shown
in Figure 20-26. Configure the task using these fields and then click Next:
Start
Use the Start options to set a start date and time.
Months
Use this selection list to choose which months the task runs. You can select
all months or months individually.
Figure 20-24. Configuring a daily scheduled task
Scheduling Maintenance Tasks
|
725
Days
Sets the day(s) of the month the task runs. For example, if you select 2 and
8, the task runs on the second and eighth days of the month.
On
Sets the task to run on the nth occurrence of a day in a month, such as the
second Monday or the third Tuesday of every month.
8. If you’ve selected “One time only” for running the task, the “One time” page is
displayed. Use the Start options to set a start date and time. Click Next.
9. If you’ve selected “When a specific event is logged,” the “When a specific event
is logged” page is displayed. You’ll need to select the event log to monitor and
the specific event source, event ID, or both. Click Next.
Figure 20-25. Configuring a weekly scheduled task
Figure 20-26. Configuring a monthly scheduled task

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required