Skip to content

Job.setRepeatDelay

Grant Carthew edited this page May 8, 2017 · 2 revisions

Method Signature

Job.setRepeatDelay(repeatDelay)

Parameter: repeatDelay Number

  • The new repeatDelay value time period in milliseconds.

Returns: Job Object

Example:

job.setRepeatDelay(12000)

// or

q.createJob().setRepeatDelay(12000)

Description

The Job.setRepeatDelay method changes the current repeatDelay value assigned to the job. This change is not persisted to the database. Use Queue.addJob or Job.update to save any changes.

See the Job Repeat 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