Skip to content

Job.setRetryMax

Grant Carthew edited this page Sep 30, 2016 · 3 revisions

Method Signature

Job.setRetryMax(retryMax)

Parameter: retryMax Number

  • The retryMax value for the job representing how many times the job will be retried.

Returns: Job Object

Example:

job.setRetryMax(6)

// or

q.createJob().setRetryMax(6)

Description

The Job.setRetryMax changes the current retryMax value assigned to the job.

See the Job Options document for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally