Running a job from the Tivoli Workload Scheduler interface

You can use the Tivoli® Workload Scheduler user interface to trigger a product import or export job. The user interface uses a shell script to define which job to run or schedule.

Before you begin

Before you can run a job from the Tivoli Workload Scheduler interface:
  • Enable access to the product code.
  • Create the scripts for external scheduling. See Creating the scripts for external scheduling.
  • Ensure that you have the appropriate software that is installed as follows:
    • The application server must have the following software installed: Tivoli Workload Scheduler 8.2 or later, Tivoli Management Framework 4.1 or later, and Tivoli Management Framework Language support 4.1 or later.
    • The computer that you use to run or schedule the jobs must have Tivoli Management Framework 4.1 or later installed.

Procedure

  1. Create a task to define the job.
    Creating a task defines the host that is to be used to run the scheduled job and the path to the shell script file for the product job.
    1. Open the Tivoli Desktop and for the Management Environment fields, and specify information for the application server that contains the software to use the merge scheduler feature.
    2. Create a task library, then create a task in the task library. Give the task a name.
      For example: Task for Feed 1.
    3. Edit the task and select the role that is required to run the task.
    4. Select the platform where the task is to be run and enter the information to specify the location of the shell script run_job_template.sh.
    5. Save the edits to the new task.
    After a task is created in the task library, it can be run manually or at a scheduled time. The task, when run, uses its defined host and the run_job_template.sh script file to start a product import or export job.
  2. Run or schedule the task.
    Option Description
    Run the task From the task library, double-click the task. Specify the options that you want and click Execute.
    Schedule the task
    1. From the task library, drag the task and drop it on the scheduler.
    2. Specify a label for the job.
    3. Specify the settings on the Add Scheduled Job page as needed for your requirements. For example, you might schedule the job to run indefinitely or you might schedule it to run at regular time intervals.

      For example, to schedule a job so that it runs three times in a time interval of every 60 minutes select Repeat the Job and type 3, then type 60 for the minutes.

      Tip: In such a scenario, it is important to make sure that the current time shows the exact server time as the Time Zone set.
    4. Specify any other settings, such as email addresses or groups to notify and logs to use.
    5. Click Schedule Job.
  3. Optional: Check the status of a job.
    On the Desktop page, double-click Notices, then select a group and click Open.
    Tip: You can also log in to the product interface to check the status of a job.