Defining Conditions
The Conditions tab displays different conditions for running tasks and allows you to define settings for these conditions. If you do not specify condition settings, designated defaults will be applied to the task. Conditions on this page are optional unless you have selected the On Idle trigger type. If you have selected this trigger type, you must configure Idle settings as described in this section.
To configure task conditions, click the Conditions tab and configure the desired options as described in Table below.
Conditions Tab Options
Setting | Description |
Idle | Groups all conditions related to idle that affect the starting of the task. |
Start The Task Only If The Computer Is Idle For | Configures the task to start only if the computer has been idle for a certain amount of time. |
Wait For Idle | Enabled only by selecting the Start Only If Computer Is Idle For
option; configures how long to wait for the idle condition to be satisfied. Options in the list include Indefinitely, 1 Minute, 5 Minutes, 10 Minutes, 15 Minutes, 30 Minutes, 1 Hour, and 2 Hours. Default value: 30 Minutes You can also enter other values using the following formats: <ss> s[econds] <mm>[:<ss>] m[inutes] <hh>[:<mm>:<ss>] h[ours] |
Stop If The Computer Ceases To Be Idle | Configures the task to stop if the computer ceases to be idle. Default value: Selected |
Restart If The Idle State Resumes | Enabled only by selecting the Stop If Computer Ceases To Be Idle option. Configures the task to restart if the computer re-enters the idle state. Default value: Cleared |
Start The Task Only If The Computer Is On AC Power | Configures the task to start only if the computer is on AC power and not on battery power. Default value: Cleared |
Stop If The Computer Switches To Battery Power | Configures the task to stop if the computer switches to battery power. Default value: Cleared |
Wake The Computer To Run This Task | Specifies that the computer should be brought out of hibernation or standby to run this task. Default value: Cleared |
Start Only If The Following Network Connection Is Available | Sets a condition to run the task only if a specific named network connection is available or if any network connection is available
when the task's trigger is activated. Default value: Cleared |
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