Diagram

Elements

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.
scheduler_id
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.
notifications
Specifies the number of transfers the same notification to a System Monitor. By default one notification only will be sent.
Element Type Required Description
Attribute: scheduler_id 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: notifications positiveInteger
  • Fixed: 1
Optional Specifies the number of transfers the same notification to a System Monitor. By default one notification only will be sent.