Timer Daemon
This service has been introduced in version 22.4
Introduction
The timer daemon is a service which runs for a list of timed jobs periodically their associated workflow.
Each timed job has the following noteworthy properties
Process definition: Workflow which will be started
Period: in minutes how often the workflow will be started
Next execution: When it will fire next
Business Logic
Timed jobs fire regardless if the workflow from the last execution is finished
When it fires all previous unfinished instance(s) of its associated workflow are forcibly terminated
When a timed job is created for the first time, its next execution will be
Period < 1 day: Delayed by at least the period plus 15 minutes random
Period >= 1 day: Delayed until past midnight plus 5 hours random
API
It is available in the REST API as
Monitoring
The MediaHaven Monitoring provides the overview in the tab “Timed Jobs”.
Monitoring Screens
Screen | Description |
---|---|
Jobs | Complete overview of all timed jobs |
Record timers | Specialised view of the defined https://mediahaven.atlassian.net/wiki/spaces/CS/pages/3949297684 |
Server Logs / Logging | Linking to the logging of the timer daemon |