Table

cm_co_jobs

Description

Per-CO Job Records

Column

Format

Description

Definition

Comments

id

integer, primary key

Row identifier

autoincrement


co_id

integer, foreign key

CO Record ID

cm_cos:id


job_type

varchar(32)

Job Type

  • Plugin Name
  • EX: Expiration
  • OS: Org Identity Sync

Plugin name added as of Registry v3.3.0. Enum style values deprecated, will be removed in v4.0.0

job_type_fkintegerForeign key value associated with Job Type

eg: cm_org_identity_sources:id

Deprecated, will be removed in Registry v4.0.0

job_modevarchar(16)Job Type-specific mode

job_paramstextJSON encoded list of parameters to pass to the Job plugin

Added in Registry v3.3.0

Although this is a json document, native json types are not used since they are only available in relatively new versions of the RDBMSs. Also, ADOdb schema support for the json type is limited.

requeue_intervalintegerUpon successful completion, requeue a new copy of the same job after this many seconds
Added in Registry v4.0.0
retry_intervalintegerUpon failure, retry the job after this many seconds

Added in Registry v4.0.0

A new copy of the job will be queued, and the original will be placed in failed status.

max_retryintegerMaximum retries for this Job

Added in Registry v4.3.0

max_retry_countintegerRetry count

Added in Registry v4.3.0

requeued_from_co_job_idinteger, foreign keyIf this is a requeue or retry job, the original jobcm_co_jobs:idAdded in Registry v4.0.0

status

varchar(2)

Job Status

  • GO: InProgress
  • OK: Complete
  • Q: Queued
  • X: Failed


register_summaryvarchar(256)Summary description for status at time of job registration

start_summaryvarchar(256)Summary description for status at time of job start

finish_summaryvarchar(256)Summary description for status at time of job completion

queue_timetimestampTime Job was queued

start_after_timetimestampTime Job should be started after, or null for ASAP
Added in Registry v4.0.0
start_timetimestampTime Job was started

complete_timetimestampTime Job was completed

percent_completeintegerFor In Progress Jobs, percent complete
Added in Registry v3.3.0
  • No labels