JITL - JobScheduler Integrated Template Library
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-537

JITL Job JobSchedulerStartLatecomers does not report late jobs from the past

    Details

    • Type: Fix Fix
    • Status: Dismissed (View Workflow)
    • Priority: Minor Minor
    • Resolution: Works as designed
    • Affects Version/s: 1.12.7
    • Fix Version/s: 1.12.9
    • Labels:
      None

      Description

      Current Situation

      • The user has configured the JITL job JobSchedulerStartLatecomers.xml with paramters day_offset=10d, e.g. <param name="day_offset" value="10d"/> and only_report=true.
      •  <params >
                <param  name="day_offset" value="10d"/>
                <param  name="only_report" value="true"/>
                <param  name="jobs" value="/. *"/>
            </params>
        
      • The Job execution does not report the late jobs although the DailyPlan view shows some late jobs/orders.
      • But when user configure JITL job JobSchedulerStartLatecomers.xml with day_offset=0 the late jobs for today are displayed in the log file.

      How to reproduce

      • Create a stand-alone job, e.g. job1 and delay the execution of the job so that DailyPlan report the job as a delayed job.
      • Deploy the attached two jobs, e.g. checkForLatecomers_0d.job.xml and checkForLatecomers_10d.job.xml
      • Start both the jobs from JOC Cockpit from action menu, "Stat task immediately".
      • Check the task log for the results.

      Desired behavior

      • The JITL Job JobSchedulerStartLatecomers.xml should report the late jobs from the past, based on the day_offset parameter.

        Activity

        Hide
        Uwe Risse added a comment -

        The correct value for dayOffset is -10d as the resultset should look into the past. It is the same value that can be specified in the advanced search for the relative date. Please note that the job always looks for only one day. In this example this -10d to -10d.

        Show
        Uwe Risse added a comment - The correct value for dayOffset is -10d as the resultset should look into the past. It is the same value that can be specified in the advanced search for the relative date. Please note that the job always looks for only one day. In this example this -10d to -10d.

          People

          • Assignee:
            Uwe Risse
            Reporter:
            Mahendra Patidar
            Approver:
            Mahendra Patidar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: