Home » Features >> Scheduling Tasks
srch-icn
 

Scheduling Tasks

 

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 run daily, weekly, monthly , etc. The Scheduler Configuration  enables you to add, modify tasks from a central point.

Step 1: Name the Configuration

Provide a name and description for the Scheduler Configuration.

Step 2: Define 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

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.

     

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.

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.

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.

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.

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, fails to execute.

Delete a Task

To delete a task, select the Create Task tab of the Scheduler Configuration  and specify the name of the task that has to be deleted.

If you wish to create/modify/delete more tasks, click Add  More Task button and repeat step 2. The defined task gets added  to the Task  table.

To modify a task from the Task  table, select the appropriate row and click icon and  change the required values.

To delete a task from the Task  table, select the appropriate row and click icon.

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