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”.