The Windows Scheduler Configuration enables you to schedule any program, task or a script to run at a specified time. You can also schedule a task to be executed daily, weekly, monthly , etc. This configuration enables you to add and modify tasks from a central point.
Provide a name and description for the Scheduler Configuration.
You can perform the following actions:
Create/Modify a Task
To create a new task, select the Create Task tab of the Scheduler Configuration. Select the Modify Task tab to modify an existing task. Specify the following values:
Parameter
Description
Name of the task*
The name of the task that has to be created/modified.
Overwrite if task already exits
Select this option to overwrite the task, if one with the same name exists. This option is only available for create task.
Application Name*
The application or the program that has to be run. Click the icon to select and assign a dynamic variable to this parameter.
Arguments
The arguments to run the program, if any. Click the icon to select and assign a dynamic variable to this parameter.
General
- Enabled: Select this option to run the task at the specified time.
- Run only when logged on: Select this option to run the task only when the user has logged on.
User Name*
The name of the user as whom the task will be run. Click the icon to select and assign a dynamic variable to this parameter, for example, $DomainName\$DomainUserName or $ComputerName\$DomainUserName.
Password
The password of the user.
Confirm Password
Confirm the password again.
Run only when the user is logged on
Enable this option to perform the task only when the target user runs the task
Run whether the user is logged on or not
Enable this option to perform the task irrespective of the target user logged on or logged off
Run with highest privileges
Enabling this option allows the target user with highest privileges to run the task
Scheduled Task Completed
- Delete the task if it is not scheduled to run again: Select this option to delete the task when it is no longer scheduled.
- Stop Task: Select this option and specify the duration after which the task will be stopped.
Trigger
Perform this task*
Specify the time to perform the task. You can select from the following options:
- Daily: To run the task daily. Specify the time and duration to run the task.
- Weekly: To run the task on specific day(s) in a week. Specify the time, start date, and days on which the task has to be run.
- Monthly: To run the task specific day every month(s). You need to specify starting time, select a day and select a month/months.
- Once: To run the task only once. You need to specify the date and time.
- At System Startup: To run the task when the system is started.
- At Logon: To run the task during the user logon.
- When Idle: To run the task when the system is idle for the specified time.
Delay task for
Specify the time duration for which the task needs to be delayed. It can be delayed for a maximum of 31 days.
Repeat the task
Specify the time interval and duration for which the task needs to be executed repeatedly.
Expiry Date
Specify the expiry date of the task
Conditions
Idle Time
Select the required options:
- Specify the duration,the system has to be idle before starting a task.
- Stop the task if the computer ceases to be idle
Power Management
Select the required options:
- Don't start the task if the computer is running on batteries
- Stop the task if battery mode begins
- Wake the computer to run this task
* - denotes mandatory parameters
If you wish to create/modify more tasks, click Add More Task button and repeat step 2. The defined task gets added to the Task table.
When a wrong password is provided for tasks scheduled in Win2k / WinXP SP1 machines, the tasks will be successfully created, but will not be executed.
Delete a Task
To delete a task, select the Delete Task tab of the Scheduler Configuration and specify the name of the task that has to be deleted.
Modify a Task
To modify a task select the Modify Task tab of the Scheduler Configuration and specify the name of the task that has to be modified, along with the application name and arguments.
Step 3: Define Target
Using the Defining Targets procedure, define the targets for deploying the Scheduler Configuration.
Step 4: Deploy Configuration
Click the Deploy button to deploy the defined Scheduler Configuration in the defined targets. The scheduler configuration will take effect during the next system startup.
To save the configuration as draft, click Save as Draft.