Scheduled Jobs#
The scheduler executes recurring background jobs.
| Group | Job | Interval | Notes |
|---|---|---|---|
| cleaner | TokenExpirationJob | 5 minutes | Removes expired entries from the table blacklisted_tokens. |
| cleaner | DeleteOrphanedObjectsJob | 5 minutes | Searches for orphaned files and removes them and their payload permanently. |
The scheduler is distributed across all nodes of the application server cluster. Jobs will execute on only one node. In some cases, a job may disallow concurrent execution (if execution time takes longer than the firing interval).
Interaction#
The scheduler can be interacted with via the shell:
scheduler info: lists all scheduled jobs and when they will execute nextscheduler trigger: allows the firing of a job independent of its regular interval