Figure

The final success message indicating that a task has been scheduled.

Create Basic Task Wizard

Summary

Create a Basic Task

Trigger

Name: I'fllBiBi'iffllfflsgSgjl

Daily Action

Description: Back up Northwind database

Start a Program

Action. Sta rt a program: G:\Unzip\Da i lyDatabaseBacku p.vbs

d Open the Properties dialog for this task when 1 click Finish

When you click Finish, the new task will be created and added to your Windows schedule.

| < Back | | Finish | | Cancel |

Now the Daily Database Backup.vbs script will be run at 9 PM every day without user intervention. When it is run, you will get several messages showing the name of the database to be copied, the name of the copy of the database (shown in Figure 17.27), and a final message showing where the copy was made. You will probably want to comment out these message boxes after verifying that the script runs.

Scheduler.

FIGURE 17.27

A message from a VBS script run from the Task

FIGURE 17.27

A message from a VBS script run from the Task

0 0

Post a comment