Dev Guide
Dev GuideUser GuidesLegal TermsGitHubDevCommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

OCP App SDK / JobDetail

JobDetail

Details of a job run.

Index

Properties

Properties

completedAt?

Date

Timestamp that the job run completed (potentially with errors)

Defined in: src/jobs/JobApi.ts:56

definition

JobDefinition

The job definition

Defined in: src/jobs/JobApi.ts:44

errors

string

Any error messages associated with the run. Empty string if no errors.

Defined in: src/jobs/JobApi.ts:48

jobId

string

The generated id of this job run. Unique for every run of a job.

Defined in: src/jobs/JobApi.ts:36

startedAt?

Date

Timestamp that the job run began

Defined in: src/jobs/JobApi.ts:52

status

JobRunStatus

Current run status

Defined in: src/jobs/JobApi.ts:40

terminatedAt?

Date

Timestamp that the job run was terminated (due to timeout, resource limits, etc)

Defined in: src/jobs/JobApi.ts:60