You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

This tutorial follows on directly from JobScheduler - Tutorial 2 - Editing a Simple Job with JOE and will show how the order's Run Time parameter can be configured to start the order. This is a first step towards learning to using the JobScheduler's schedule function.

It is assumed that before you start to work through this tutorial you have already configured the 'Hello World' job chain with its two jobs.

 Start by selecting the hello_world_order in JOE as shown here:

Now click on the triangle to the left of the order in the Scheduler Elements pane to show the Parameter and Run Time elements.

Still in the Scheduler Elements pane, open the Run Time element and click on the Any Weekday element.

This will open a Weekday form as shown in the diagram below:

Now click on the Every Day button as shown in the screen shot above, which will specify that the JobScheduler is to start the order every day of the week.
These days are then listed in the central field of the form as shown below.

In the Scheduler Elements pane, click on the Every Day element to set the time(s) of the days specified when the order is to run.

For the purpose of this tutorial, it would be useful when the order would run once, starting a few minutes after the Run Time configuration has been completed.

Start by clicking the New Period button as shown below, which will activate the Time Slot and Start Time fields (the field background color changes from grey to white) in the upper part of the form:

In the Single Start part of the form enter a start time, ideally five minutes later than the current time.

Now click on the Apply Period button to note the start time - it will now be entered in the Period List in the lower part of the form as shown below.

As a final step in JOE, save the run time information using the Save Configuration button at the top of JOE.

Now switch back to JOC where the Start time specified in JOE should be shown in green text (Next start: .....) as can be seen in the screen shot below:

As with the situation described in the second tutorial, the first "Hello World" job of the order will be processed almost instantaneously.

However, the second job will take a few seconds and during processing will be marked as shown in the screen shot below:

After processing of the order has been completed it will be added to JOC's Order History pane as shown, together with its start time of 14:40:00 and other information:

Clicking on the Order ID, will now open the Order protocol in a new browser window.
This log contains the protocols for both jobs with the "Hello World" output being listed before the task for the first job ends and the second job starts.

The results of the Pings from the second job can be seen in the middle of the screen shot.

Near to the foot of the screen shot is the information that the next start of the order will be on the 27th January (the next day) at the same time of 14:00.

The same information will now also be shown in JOC's main window.

 

 

  • No labels