Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-328

Send warning mails if a job takes longer or shorter than expected

    XMLWordPrintable

Details

    Description

      Job Scheduler should send warning messages if a job step takes longer or shorter than a configurable amount of time.

      This is configured with a new attributes at the job element:
      <job warn_if_longer_than="..." warn_if_shorter_than="..."/>

      The duration can be specified in
      -seconds
      -HH:MM
      -HH:MM:SS
      -Percentage of the average job step time, e.g. warn_if_longer_than="130%", warn_if_shorter_than="10%"

      If the duration is longer then expected, Job Scheduler should send a warning mail:
      "Task name:task_id has now been running for hh:mm:ss and is still running."

      If the duration is shorter then expected, Job Scheduler should send a warning mail:
      "Task name:task_id has ended after hh:mm:ss. It was expected to run hh:mm:ss by average."

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            al Andreas Liebert (Inactive)
            al Andreas Liebert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day, 5 hours Original Estimate - 1 day, 5 hours
                1d 5h
                Remaining:
                Time Spent - 1 hour, 30 minutes Remaining Estimate - 1 day, 4 hours
                1d 4h
                Logged:
                Time Spent - 1 hour, 30 minutes Remaining Estimate - 1 day, 4 hours
                1h 30m