Skip to content

Scheduler

Everything under Quiote\Scheduler.

ClassDescription
DispatchJobTaskPushes a Job onto QueueManager rather than running it in-process — honors whatever queue driver the app has configured (sync or persistent).
InlineCallbackTaskRuns a callback synchronously in-process, for tasks cheap enough not to need the queue.
ScheduleApp-facing base class for defining scheduled tasks — mirrors how an app subclasses Quiote\Routing\Routing for its route table.
ScheduledTaskDefinitionFluent builder for a single scheduled task: its cron spec, the action to run when due, and optional overlap-prevention locking.
SchedulerLockBest-effort overlap-prevention lock for ScheduledTaskDefinition::withoutOverlapping(), built on the app’s existing PSR-16 CacheInterface rather than a new lock subsystem.
SchedulerPluginRegisters the scheduler subsystem: a default no-op Schedule (so an app with nothing configured just runs zero tasks instead of erroring), the SchedulerLock service, and schedule:run.
InterfaceDescription
ScheduledTaskActionThe “how to invoke it” strategy for a ScheduledTaskDefinition — either run inline (InlineCallbackTask) or dispatch onto the queue (DispatchJobTask).
NamespaceContents
Console1 type