Showing:

Annotations
Attributes
Diagrams
Properties
Used by
Element TaskIfLongerThan
Annotations

https://kb.sos-berlin.com/display/PKB/JobScheduler+Monitoring+Configuration+Reference+-+TaskIfLongerThan

References Notes

TaskIfLongerThan includes the feature to send notification in case that the execution of job requires a longer duration than expected.

Requirements:

  • The Job configuration contains the warn_if_longer_than setting.
  • ./config/factory.ini configuration file:
    • mail_queue_only=true
    • mail_queue_dir setting specifies a directory to store the JobScheduler mails
    • mail_on_warning=true
Attributes:
  • scheduler_id - restricts notifications to the JobScheduler instance with the given identification. By default notifications will be sent for all JobScheduler instances that log into the same database.
  • notifications - specifies the number of transfers the same notification to a System Monitor. By default one notification only will be sent.

Diagram
Diagram SystemMonitorNotification_v1_0_xsd_Element_TaskIfLongerThan.tmp#TaskIfLongerThan_scheduler_id SystemMonitorNotification_v1_0_xsd_Element_TaskIfLongerThan.tmp#TaskIfLongerThan_notifications
Properties
content complex
Used by
Attributes
QName Type Default Use Annotation
notifications xs:positiveInteger 1 optional
Specifies the number of transfers the same notification to a System Monitor. By default one notification only will be sent.
scheduler_id xs:string optional
Notifications are restricted to the JobScheduler instance with the given identification. By default notifications will be sent for all JobScheduler instances that would log into the same database. Java regular expression can be used.
Attribute TaskIfLongerThan / @scheduler_id
Annotations
Notifications are restricted to the JobScheduler instance with the given identification. By default notifications will be sent for all JobScheduler instances that would log into the same database. Java regular expression can be used.
Type xs:string
Properties
use optional
Used by
Attribute TaskIfLongerThan / @notifications
Annotations
Specifies the number of transfers the same notification to a System Monitor. By default one notification only will be sent.
Type xs:positiveInteger
Properties
use optional
default 1
Used by