Scheduling a task

This topic describes how to schedule a task.

Complete the following steps to schedule a task:
  1. In IBM® Director Console, click Tasks > Scheduler.
  2. In the Scheduler window, double-click the date on which you want the new job to start.
  3. In the New Scheduled Job window, specify information about when the job will run:
    1. Select the Schedule the task to execute on a date and time check box to assign a date and time to the job. If this check box is cleared, the job is added to the jobs database, but it is not activated automatically.
    2. In the Date field, type the date that you want the job to run.
    3. In the Time field, select the time that you want the job to run.
  4. Click the Task tab.
  5. On the Task page, in the Available pane, double-click the task that you want the job to perform. The task is added to the Selected Task pane. You can select multiple tasks for a single job. Each task is processed in the order in which it is displayed in the Selected Tasks pane.
  6. Click the Targets tab.
  7. If you want to run the job on a managed system, on the Targets page, in the Available pane, double-click a managed system. The managed system is added to the Selected Group pane. Repeat this step until you have added all of the managed systems on which you want to run the job.
  8. If you want to run the job on a group, click Use a group as the target. The window is populated with group information. In the Available pane, double-click the group. The group is added to the Selected Group pane. You can select only one group as a target for any job.
  9. Click the Options tab.
  10. In the Options page, select job options. You can choose from the following options:
    Delay execution on unavailable systems
    If you select this check box, the task will be performed on any offline targeted managed objects as soon as they are online again.

    If you do not select this check box and a targeted object is offline at the time of job activation, the job returns an error status.

    Execute on systems that are added to the target group
    (This option is available only if the job is targeted against a group.) If you select this check box, the job remains active until it is cancelled. IBM Director detects any new managed objects that are added to the target group, and the scheduled job then is activated on those new managed objects.
    Execute in client time zone
    If you select this check box, the task is run at the designated time in the local time zone of the target managed object.

    Note: You cannot schedule a job to repeat hourly and be run in the local time zone. Also, if the start date of the first scheduled time zone occurs before the target managed object date, the job cannot be created.
  11. Select execution history options:
    1. To limit the number of job records that are stored in the execution history, select the Limit execution status check box and specify the number of job records that are stored.
    2. To delete job records of a certain age, select the Delete execution status check box and specify the number of days after which job records are deleted.
  12. Specify when events are generated. You can choose from the following options:
    Generate an event when a job execution completes successfully
    Generate an event when a job execution completes with errors
    Generate an event when a target system completes successfully
    An event is generated when a job is successfully run on a target system.
    Generate an event when a target system completes with errors
    An event is generated when errors occur as a job is run on a target system. For example, if a target object does not respond, the target object is completed with errors
  13. Click File > Save As.
  14. In the Save Job window, type a descriptive name for the scheduled job. Click OK.
  15. Click OK to close the confirmation message window.

Table of Contents

(C) Copyright IBM Corporation 1999,2005. All Rights Reserved.