Skip to content

Job.setDateEnable

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

Method Signature

Job.setDateEnable(dateEnable)

Parameter: dateEnable Date

  • The new dateEnable value for the job.

Returns: Job Object

Example:

job.setDateEnable(new Date())

// or

q.createJob().setDateEnable(new Date())

Description

The Job.setDateEnable changes the current dateEnable 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 Options and the Delayed Job documents for more detail.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally