Defining Triggers
The Triggers tab allows users to view and configure one or more triggers that will start the task. To define a new trigger, click New to display the New Trigger dialog box. To edit an existing trigger, select the trigger in the list and click Edit. To delete an existing trigger, select the trigger and click Delete.
In the New Trigger dialog box, the Begin The Task drop-down list allows you to configure a task to begin based on the following trigger types:
- On A Schedule
- At Log On
- At Startup
- On Idle
- On An Event
- At Task Creation/Modification
- On Connection To And Disconnect From User Session
- On Workstation Lock And Unlock
The following sections explain trigger types and their corresponding settings in detail.
On A Schedule Trigger
The On A Schedule trigger configures the task to start on a defined schedule. Selecting the On A Schedule trigger type in the Begin The Task list displays the controls in the Settings group box to configure schedule parameters. Table below describes these controls.
On A Schedule Trigger Settings
Setting | Description |
One Time | Configures the task to run once at the specified date and time |
Daily | Configures the task to run on a schedule based on days |
Weekly | Configures the task to run on a schedule based on weeks |
Monthly | Configures the task to run on a schedule based on months |
Synchronize Across Time Zones | Configures the task to run using Universal Time Coordinated (UTC) instead of local time |
At Log On Trigger
The At Log On trigger allows you to define a task to run when someone logs on to the computer. Selecting the At Log On trigger type in the Begin The Task list displays the controls in the Settings group box to configure schedule parameters. Table below describes these controls.
On A Schedule Trigger Settings
Setting | Description |
Any User | Configures the task to start when any user logs on. |
Specific User Or Group | Configures the task to start at logon of the specified user or group. |
<domain\user> | Shows a read-only display of the currently selected user or group. |
Change User Or Group | Opens the standard Windows Select User Or Group dialog box to allow the user to change the selected user or group. If the user makes a different selection in the dialog box and clicks OK to accept, the <domain\user> read-only text box should change to display the new selection. |
In this tutorial:
- Windows 7 Desktop Maintenance
- Performance Monitoring
- Improvements to Performance Monitoring in Windows 7
- Using Performance Monitor
- Real-Time Performance Monitoring
- Performance Monitor Logging
- Creating a Data Collector Set
- Configuring a Data Collector Set
- Using Data Manager to View Performance Data
- Starting and Stopping Data Logging
- Viewing Performance Data
- Comparing Performance Monitor Logs
- Performance Monitor User Rights
- Remote Data Collection
- Using Windows PowerShell for Performance Monitoring
- Resource Monitor
- Overview Tab
- CPU Tab
- Memory Tab
- Disk Tab
- Network Tab
- Reliability Monitor
- How Reliability Monitor Works
- Windows Performance Tools Kit
- Event Monitoring
- Understanding the Windows Event Architecture
- Channels
- Improvements to Event Monitoring in Windows 7
- Using Event Viewer
- Understanding Views
- Viewing Event Logs
- Saving Event Logs
- Configuring Event Subscriptions
- Considerations for Workgroup Environments
- Creating a New Subscription
- Using the Windows Events Command-Line Utility for Event Monitoring
- Using Windows PowerShell for Event Monitoring
- Using Task Scheduler
- Improvements to Task Scheduler in Windows 7
- Understanding Tasks
- Understanding the Task Scheduler Architecture
- Understanding Task Scheduler Security
- Credentials Management
- Securing Running Tasks
- Understanding AT and Task Scheduler v1.0 Compatibility Modes
- Understanding the Task Scheduler Snap-in
- Understanding Default Tasks
- Creating Tasks
- Defining Triggers
- At Startup Trigger
- On Connection To AND Disconnect From User Session Triggers
- On Workstation Lock AND Unlock Triggers
- Defining Actions
- Defining Conditions
- Defining Settings
- Managing Tasks
- Viewing History
- Using SchTasks.exe for Creating and Managing Tasks
- Task Scheduler Events
- Troubleshooting Task Scheduler
- Tasks Won't Run If the Service Is Not Started
- The Task Will Run Only When a Certain User Is Logged On
- The Task Action Failed to Execute
- Interpreting Result and Return Codes
- Understanding the Windows System Assessment Tool
- Understanding WinSAT Assessment Tests
- Examining the WinSAT Features Assessment
- Running WinSAT from the Command Line
- Understanding WinSAT Command Exit Values
- Running WinSAT Using Performance Information and Tools
- System Capabilities Section
- OEM Upsell And Help Section
- Understanding Windows Error Reporting
- Overview of Windows Error Reporting
- How WER Works
- Store Management System
- ReportArchive Folder
- WER Service
- Understanding the Error Reporting Cycle
- Understanding WER Data
- Configuring WER Using Group Policy
- Configuring WER Using the Action Center