Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-219

The JITL job JobSchedulerCheckRunHistory should make use of the new class com.sos.jitl.checkrunhistory.JobHistory

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.9.6
    • 1.9.8, 1.10.2, 1.11
    • None

    Description

      Current Situation
      The Job JobSchedulerCheckRunHistory has its own implementation which

      • makes a connection using host and port
      • can return whether a job did run late
      • does not work when the job is actually running

      Desired Behaviour
      The job should use the new class com.sos.jitl.checkrunhistory.JobHistory which provides a lot of further return values. To make the job available for the Universal Agent, it also should use the api methode execute_xml as default. Only when host and port are explicitly specified, a connection using host and port should be used.

      The job provides the new parameter query. Possible values are (the queries will be checked not case sensitive)

      • isStartedToday
      • isStartedTodayCompletedSuccessful
      • isStartedTodayCompletedWithError
      • isStartedTodayCompleted
      • isCompletedToday
      • isCompletedTodaySuccessfully
      • isCompletedTodayWithError
      • the following queries can define a datetime
        • in the form d:hh:mm:ss
        • Example: is CompletedAfter(-1:20:00:00)
        • This queries whether the job did completed after yesterday 8:00 pm
        • If no time is specified the values from the paramters start_time or end_time will be uses
      • isCompletedAfter
      • isCompletedWithErrorAfter
      • isCompletedSuccessfulAfter
      • idStartedAfter
      • idStartedWithErrorAfter
      • isStartedSuccessfulAfter
      • isCompletedBefore
      • isCompleteddBeforeWithError
      • isCompletedBeforeSuccessful

      Attachments

        Issue Links

          Activity

            People

              ur Uwe Risse
              ur Uwe Risse
              Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: