Skip to main content
Close announcements banner

Creating a Job script to call a child Job

This example shows how to write a Job script to define a Job that will call a child Job a given number of times.

The Job will contain the following components:

  • a tLoop component, to trigger the execution of the task.

  • a tRunJob component, to call a child Job.

Before creating this Job script, create a simple Job named HelloWorld. This Job will be called as the child Job. In this example, this Job contains a single tJava component, which will execute the following Java code:

System.out.println("Hello World !");

Make sure that the Job can be successfully executed, and note down its process ID.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!