Creating Basic Tasks

You can create a basic task by completing these steps:

1. Click Starts-Control Panels-System and SecuritysAdministrative ToolssSchedule Tasks.

2. Click the Action menu 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.

5. If you've selected a daily running task, the Daily 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 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 X days" text box to 2 days.

Figure 20-25. Configuring a daily scheduled task

6. If you've selected a weekly running task, the Weekly 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. 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-27. 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. 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.

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" 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.

10. If you've selected "When the computer starts," the task will run when the computer starts.

11. If you've selected "When I log on," the task will run only when you log on.

12. On the Action page, specify the task to perform. You can start a program, send an email, or display a message. Click Next. The next page you see depends on the action you selected.

13. If you've selected Start a Program, you'll see the Start a Program page, shown in Figure 20-28. Click Browse to display the Open dialog box and then select the program or script to run. You'll find system utilities, such as Disk Cleanup (cleanmgr.exe), in the %SystemDrive%\Windows\System32 folder. Click Next.

14. If you've selected Send an E-mail, you'll see the Send an E-mail page. You can then configure the automated email to send by completing the From, To, Subject, and Text fields of the email message. In the "SMTP server" text box, enter the FQDN

Figure 20-26. Configuring a weekly scheduled task
Figure 20-27. Configuring a monthly scheduled task

(Fully Qualified Domain Name) of the mail server through which you will send your message. Click Next.

15. If you've selected Display a Message, you'll see the Display a Message page. You can then configure the message to display on the desktop when the task is started. Enter the title and text of your message in the text boxes provided. Click Next.

16. On the Summary page, review the task details and then click Finish. By default, basic tasks you create run under your account and will run only when you are logged on.

Figure 20-28. Selecting the program to start

Was this article helpful?

0 0

Post a comment