Documentation tree

The scheduler allows you to create and manage a group of jobs that you submit to the JD Edwards system. You can control how and when the jobs are triggered, the order that the jobs are executed, and the dependencies that are associated with them. The following diagram shows the flow of a scheduled group.

Creating a Group

To create a scheduling group
  1. Select Scheduler in the navigation panel.
  2. Select the Groups node.
  3. Click the Create Group button.
  4. Add a distinct Group Name. The value for this field can be a maximum of 40 characters (no spaces). Valid characters include numbers, letters and  dash.
  5. Start typing a Stream name, suggestions will popup if existing names have been used.
  6. Specify how to handle jobs that are suspended:
    • Trigger on Misfire *Standalone Only* - By enabling this option you will ensure that a job will be immediately submitted if it misses its window to run due to the scheduler being shutdown or is in a suspended state. Once the scheduler is resumed the job will be submitted to JDE. If it miss's multiple windows to run it will only be submitted once. If this option is not enabled then a job will not submitted after its opportunity to run has been missed. Note this option is currently not available for the cloud version of Cantara as the scheduler can be paused but not stopped.
    • Allow Multiple Instances - Select this option to allow multiple instances of the same job to execute at the same time. For example, if you have a job scheduled to run every 10 minutes and it take 15 minutes to run, it will be submitted every 10 minutes. In this scenario, leaving this option unchecked will cause the subsequent jobs to generate an error each time they are submitted to JDE.
  7. Select a sequencing method to specify how the job should be submitted to JDE:
    • Sequential on Success - Each job is submitted in sequential order and only after the previous job is successful. This is the default sequencing method.
    • Sequential on Completeness - Each job is submitted in sequential order and only after the previous job is completed, even if errored.
    • In Parallel - Each job is submitted at once in parallel.
  8. Specify a duration (in seconds) for the job:
    • Minimum Duration - Enter a value from zero to 86,400 that specifies the minimum amount of time to allow a job to run. An error notification is sent to the system if the job runs shorter than this value.
    • Target Duration - This option helps you to create a plan for scheduling. Enter a value that indicates an estimate of how long you think it will take for a job to run.
    • Maximum Duration - Enter a value from zero to 86,400 that indicates the maximum amount of time to allow a job to run. An error notification is sent to the system if the job runs longer than this value.
    • Warning Only - If you choose warning only then an email will be sent to the defined notification email but the group will continue to execute and will not be treated as if it has errored. If warning only is not selected then if the group completes before the minimum duration or exceeds the maximum duration it will be considered to have error-ed for dependency purposes.
  9. In the space provided, enter the email address of the person to send a Notification Email when an error occurs in the group. You can also add a variable in this field. For example, if your email changes, you only have one place to make the change. Using a variable in this field is also helpful if you have multiple departments within your company that may receive a notification. See Managing Variables. You can choose the Notify on Success option if you wish to receive an email each time the group completes successfully.
  10. Add existing Tag or create a new Tag. Tags assist in searching for groups in the groups screen.
  11. Define the Trigger Details. See Trigger Details.
  12. The Group Details section contains a list of available requests and groups that you can add to the Allocated Requests and Allocated Dependencies lists, respectively. Specify your group details:
    • Available Requests -  List of requests currently configured in the system that you can associate with the scheduled job. You must add at least one request to the Allocated Requests list. To move an item, click the plus sign next to the job in the Available Requests section to move the job to the Allocated Requests table. The requests are executed top to bottom in the order in which they appear in the list. You can drag the items with your mouse to place them in any order you desire. 
    • Available Dependencies - If the group depends on another group running before it starts, click the plus sign next to the group to move the job to the Allocated Dependencies list. The order of the dependencies does not have an influence on the job. The system checks the trigger setting first, then any dependencies. When a trigger start setting occurs before the start date and time for a dependency, the system will wait for the dependency before it runs. If an error occurs for a dependency and it is unable to run, the job will have an error.
  13. Set the group to ON if you want the group submitted to the Scheduler to run. If this option is unchecked, the job will not be on the schedule to run.
  14. Click the Save Group button to save the group schedule settings.


Trigger Details

In the left hand pane, scroll down to see the Trigger details for the job.

You can define one of the following trigger types for a scheduling job:

Simple Trigger

In Cantara, a Simple trigger starts and stops a job when a specific date and time occur, for a specific interval.

To define a simple trigger
  1. Select Simple Trigger from the drop-down list.
  2. Add a Description that explains what the trigger does. For example, Daily at 10 p.m. describes a trigger that runs once a day at 10 in the evening.
  3. Click in the Start field, fill in the appropriate values for the start date/time.
  4. Enter the date and time you want to trigger the schedule. This value can be in the past. 
    Use the format 2-digit day, 3-letter month, 4-digit year, and 6-digit military time period. For example, 31-Dec-2014 00:00:00.
    To enter the value you can either type the value into each parameter or click into each parameter and then use the Up and Down arrows or scroll up and down functions on your mouse to change the values.
    Note if you enter a date/time in the past the next execution will be calculated based on the interval set to give the next execution after the current time.
  5. Enter an Interval and specify the Interval Unit from the drop-down list. You can select Seconds, Minutes, Hours, Days, and Weeks.
  6. Enter a Finish date and time.

Cron Trigger

The Cantara Integration Platform uses the open source Quartz Scheduler as the underlying scheduler in its system. The Quartz Scheduler supports the use of Cron expressions to specify a time to start a job. For details about how to build a cron trigger, see the Quartz CronTrigger Tutorial.

To define a Cron trigger
  1. Select Cron Trigger from the drop-down list.
  2. Add a Description that explains what the trigger does. For example, Daily at 10 p.m. describes a trigger that runs once a day at 10 in the evening.
  3. In the spaces provided, enter the cron expression for the Seconds, Minutes, Hours, Day of Week, Day of Month, Month, and Year.

Period Trigger

A period trigger allows you to schedule jobs based on the financial pattern that is defined for your company within the JDE system.

To define a period trigger

Note

Period triggers are created when you save the group. If the current period definition is changed within the JDE system, you must refresh (open and save) the group to update the change in the Cantara platform.

 

  1. Select Period Trigger from the drop-down list.
  2. Add a Description that explains what the trigger does. For example, 10 p.m. 1st day of every period.
  3. Enter the JDE code for your Company.
  4. Enter the Start Date/Time. Use the format 2-digit day, 3-letter month, 4-digit year, and 6-digit military time period. For example, 31-Dec-2014 00:00:00.
    To enter the value you can either type the value into each parameter or click into each parameter and then use the Up and Down arrows or scroll up and down functions on your mouse to change the values.

    Notes on setting period triggers:
    -You can schedule period triggers (that run every period) for the current period if the Day/Date has not yet passed, i.e. mid period you can schedule jobs to run at End of a Period. Likewise mid period you can schedule a job to run at the start of the next period (i.e. 1st day) and it will schedule for the 1st day of the next period etc.
    -If scheduling period triggers that run over multiple periods (i.e. every 3 periods), you must backdate your start date for the system to calculate the desired start date. The system calculates the next trigger date/time as follows:
      -Get the month that has been selected i.e. 1st of October start date for a month aligned date pattern.
      -The start date will be calculated 3 periods forward of this date i.e. 1st of December - if the date calculated is greater than today's date.
      -If the date calculated is prior to today's date the scheduled date will go a further 3 periods forward.

  5. this value can be in the past, if you enter a date/time in the past the next execution will be calculated based on the interval set to give the next execution after the current time.
  6. Specify the period:
    • Enter the period in the spaces provided for a specific numbered day of a period(s), or
    • Select values from the drop-down lists to create logic for the period.

Manually Trigger Group

In some scenarios you may want to run a group manually, for example you may wish to test it.

To manually run a group
  1. Select Scheduler in the navigation panel.
  2. Select the Groups node.
  3. Select the Group Name you wish to edit, this will open the edit group screen.
  4.  From the edit group screen click the Run Group button (Rocket ship icon next to the save button), this will submit the group to the scheduler regardless of its trigger settings.

 

 

 

 
On This Page

  • No labels