DynamicCronplugin is a replacement for Oban’s built in cron scheduler. It supports adding, updating, deleting, pausing and resuming periodic jobs at runtime and boot time. It is an ideal solution for applications that must dynamically start and manage scheduled tasks at runtime.
See the DynamicCron installation docs for instructions on getting started.
:retry_exhaustedoption, which will retry exhausted jobs rather than discard them while rescuing.
[:oban, :plugin, :start | :stop | :exception]events for all plugins. Previously, each plugin would emit its own event, which required extensive
:telemetry.attach_manycalls. Now all plugins have a standard event name with differentiated metatada, including a
:pluginkey with the module name responsible for emitting the event.
To upgrade replace any events that used
:plugin. For example,
[:oban, :prune, :start]is now
[:oban, :plugin, :start]with the metadata