Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Quartz scheduler schema reference

PostgreSQL schema, keys, retention limits, and BookWorm job configuration for all 15 Quartz.NET 4.8.1 tables in schedulerdb.

Schema Reference

Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs persists durable job definitions, cron triggers, cluster locks, and execution history across 15 PostgreSQL tables in Scheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docs using Quartz.NET 4.8.1. This reference documents the active job schedule, table keys, and retention defaults for platform operators.

Scheduler Persistence Model

Loading graph...

Component & Responsibility

ComponentRoleProtocol / InterfacePersistence / StateNotes
Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docsExecutes durable cron jobs & syncs schedule definitionsQuartz.NET 4.8.1 + KafkaScheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docs (PostgreSQL)Processor-count concurrency; drains active jobs on shutdown
Quartz DashboardOperational UI for inspecting jobs & triggering manual runsExternal HTTPS (/quartz)Reads Scheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docs via Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docsProtected by OAuth APIServicev1.0.0OAuth APIExternal OAuth 2.0 and OIDC identity provider API used by BookWorm clients and services to authenticate users, issue tok...Ownerplatform-engineering-teamDiagramOpen docs OIDC (admin role)
Core Job & Trigger TablesStores job definitions, triggers, and cron expressionsPostgreSQL (qrtz_job_details, qrtz_triggers, qrtz_cron_triggers)Relational (FK cascade)Synced every 1 minute from schedule config
Cluster & Lock TablesCoordinates active firings, heartbeats, and row locksPostgreSQL (qrtz_fired_triggers, qrtz_scheduler_state, qrtz_locks)Ephemeral / cluster stateScoped by sched_name
Execution & Misfire HistoryTracks job outcomes, retries, logs, and misfiresPostgreSQL (qrtz_execution_history, qrtz_misfire_history, qrtz_job_status)30-day retention, max 100,000 entriesRolling summary in qrtz_job_status

Configuration & Operational Defaults

Active Scheduled Jobs

Job nameTrigger nameGroupCron expression (UTC)Misfire policyDurable / RecoverConcurrency
ProcessVectorBatchJobProcessVectorBatchTriggerScheduler0 0/5 * * * ? (every 5m)Fire once nowtrue / falseNon-concurrent
HeartbeatJobHeartbeatTriggerScheduler0/30 * * * * ? (every 30s)Fire once nowtrue / falseConcurrent allowed

ProcessVectorBatchJob publishes Process vector batchEventv1.0.0Process vector batchIntegration event published by Scheduler every five minutes to trigger Catalog Ingestion vector batch processing over Ka...Ownerplatform-engineering-teamSchemaDiagramOpen docs to Process Vector Batch ChannelChannelv1.0.0Process Vector Batch ChannelUnprefixed Kafka trigger topic owned by the platform team used by Scheduler Service every five minutes to initiate Catal...Ownerai-capabilities-teamOpen docs via Wolverine’s PostgreSQL outbox in Scheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docs. Schedule configuration is scanned every 1 minute, overwriting existing definitions and failing fast on missing or invalid schedules.

Core Tables

qrtz_job_details

Primary key: (sched_name, job_name, job_group).

ColumnTypeRequiredDescription
sched_nametextYesLogical Quartz scheduler name
job_nametextYesUnique job name within job_group
job_grouptextYesLogical job group (Scheduler in BookWorm)
descriptiontextNoHuman-readable operator description
job_class_nametextYesFully qualified job type name
is_durablebooleanYesKeeps the job stored when no triggers reference it
is_nonconcurrentbooleanYesPrevents overlapping runs
is_update_databooleanYesPersists modified JobDataMap entries after execution
requests_recoverybooleanYesRe-executes the job if a node crashes mid-run
job_databyteaNoSerialized binary JobDataMap payload

qrtz_triggers

Primary key: (sched_name, trigger_name, trigger_group). Foreign key: (sched_name, job_name, job_group) -> qrtz_job_details.

ColumnTypeRequiredDescription
sched_name, trigger_name, trigger_grouptextYesComposite primary key
job_name, job_grouptextYesTarget job in qrtz_job_details
descriptiontextNoHuman-readable trigger description
next_fire_time, prev_fire_timebigintNoNext and most recent fire timestamps (UTC ticks)
priorityintegerNoFiring priority when triggers share a fire time
trigger_statetextYesWAITING, ACQUIRED, PAUSED, BLOCKED, or ERROR
trigger_typetextYesCRON, SIMPLE, SIMPROP, or BLOB
start_time, end_timebigintYes / NoActive window timestamps (UTC ticks)
calendar_nametextNoOptional exclusion calendar in qrtz_calendars
misfire_instr, misfire_orig_fire_time, misfire_thresholdsmallint / bigintNoMisfire handling code, original fire time, and threshold
execution_group, preferred_node, preferred_node_autovarchar(200) / booleanNo / YesExecution grouping and cluster node affinity
retry_policy, retry_attemptvarchar(250) / integerNoRetry policy descriptor and current attempt count
continues_trigger_name, continues_trigger_group, continuation_conditiontext / integerNoFollow-on continuation trigger metadata
overlap_policy, fixed_delayinteger / booleanNoOverlap policy and fixed-delay scheduling flag
pause_reason, paused_by, paused_atvarchar / bigintNoPause audit metadata
job_databyteaNoSerialized trigger-scoped JobDataMap payload

qrtz_cron_triggers

Primary / foreign key: (sched_name, trigger_name, trigger_group) -> qrtz_triggers.

ColumnTypeRequiredDescription
sched_name, trigger_name, trigger_grouptextYesComposite primary/foreign key
cron_expressiontextYesQuartz cron expression (e.g., 0 0/5 * * * ?)
time_zone_idtextNoTime zone ID (UTC in BookWorm)

Inspect Recent Job Health

SELECT
job_group,
job_name,
run_count,
consecutive_failures,
last_failure_message
FROM qrtz_job_status
ORDER BY job_group, job_name;

Guardrails & Constraints

Do Not Edit qrtz_* Tables Directly

Never modify qrtz_* rows directly in PostgreSQL. Manage schedules through declarative configuration or the Quartz Dashboard so Quartz validates cron expressions, updates binary payloads safely, and preserves cluster lock invariants.

Timestamp Representation

All BIGINT timestamp columns store 100-nanosecond UTC ticks from year 0001, not Unix epoch milliseconds.