Skip to content

Job Status

Grant Carthew edited this page Aug 16, 2016 · 12 revisions

Description

During the life cycle of a job it can have it status changed a number of times. This document will give you a better understanding of the job status values and when they get assigned.

Job Status Summary

Status Description
created After creating the job Queue.createJob
added After being added to the queue Queue.addJob
active Whilst the job is being processed
completed When the job has been processed successfully
failed When the job has failed being processed
terminated When a job has failed and will not be retried

created Status

Before you can process jobs with the Queue object you need to create jobs. Jobs get created by calling the Queue.createJob method. A newly created job will have a status of created and does not exist in the queue database table. The created status is used to prevent invalid queue function calls prior to the job being added to the queue.

Once a job is added to the queue the created job status will no longer be assigned.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally