scheduled_job


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 36 null
scheduled_job_action.scheduled_job_id fk_sja_job C
scheduled_job_run.scheduled_job_id fk_sjr_job C
location_business_line_id VARCHAR 36 √ null
name VARCHAR 255 null
shedlock.name Implied Constraint R
description VARCHAR 1000 √ null
job_type VARCHAR 100 null
enabled BIT 1 1
trigger_type VARCHAR 20 SCHEDULE
cron_expression VARCHAR 120 √ null
event_key VARCHAR 100 √ null
config_json LONGTEXT 2147483647 √ null
timezone VARCHAR 64 UTC
next_run_at DATETIME 26 √ null
last_run_at DATETIME 26 √ null
created_at DATETIME 19 CURRENT_TIMESTAMP
updated_at DATETIME 19 √ null
created_by VARCHAR 255 √ null
updated_by VARCHAR 255 √ null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_scheduled_job_due Performance Asc/Asc/Asc enabled + trigger_type + next_run_at
idx_scheduled_job_enabled_trigger Performance Asc/Asc enabled + trigger_type
idx_scheduled_job_job_type Performance Asc job_type
idx_scheduled_job_lbl Performance Asc location_business_line_id

Relationships