Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 'Calculation' sections modified

...

  • By default the Daily Plan is calculated every day at 00:01 and after every time the JobScheduler is restarted. Calculation of the Daily Plan is started by the CreateDailyPlan Order, which can be found in the live/sos/dailyplan folder.
  • By default the Daily Plan is calculated for 31 days from 00:00 of the current day to 24:00 31 days later.
  • The time period covered by the Daily Plan is set by the days_offset parameter in the CreateDailyPlan Order:
    • The value can be set to a high value such as 365 if the calendar view is to be available even if JobScheduler is not running.
    • The value can be set to a low value, e.g. 0, if the calendar view should be available only if JobScheduler is running.
    • The days_offset parameter can be changed by an administrator as required.
    The JOC Cockpit Web Service queries will query the JobScheduler Master(s) when the Daily Plan is to be shown for a period that is not reflected by the records in the database.

...

  • Open the /sos/dailyplan folder and click the Expand Details button.
  • Click on the ellipsis symbol alongside the createDailyPlan Order and select Start Order Parameterized.
  • Set the day days_offset parameter to the desired value and click Submit.

The time period covered by the Daily Plan:

  • can be set to a high value such as 365 if the Calendar view is to be available even if JobScheduler is not running.
  • can be set to a low value such as 0 if the Calendar view should be available only if JobScheduler is running.
  • can be changed by a system administrator as required with necessary permissions to start and modify the CreateDailyPlan Order.

Calculation in Detail

  • The JobScheduler will be asked when the toDate is after the maxDate (in the database) and the filter does not contain "late=true" and only contains states other than "planned" (or none).
  • When the fromDate is after the maxDate JobScheduler will be asked for the interval fromDate/toDate.
  • When the fromDate is before the maxDate JobScheduler will be asked for the interval fromDate+1/toDate.
  • Search criteria like job, job_chain, orderId, folders and regular expressions will affect the result.

...