Skip to content

Job.setRepeat

Grant Carthew edited this page Nov 20, 2016 · 2 revisions

Method Signature

Job.setRepeat(repeat)

Parameter: repeat Boolean or Number

  • The new repeat value to process jobs more than once.

Returns: Job Object

Example:

job.setRepeat(6)

// or

q.createJob().setRepeat(6)

Description

The Job.setRepeat method changes the current repeat value assigned to the job.

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