Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to quit delayed_job's lifecycle #652

Closed
McGar opened this Issue · 1 comment

3 participants

@McGar

Is there anyway to quit delayed_job's lifecycle in before stage(or any stage) without run perform and without doing anything to the job record in database, just look like never touched it.

Or is there any way to make delayed job avoid touching any job records in databases when given some conditions.

@ejoubaud

You can write a DJ plugin, or use job hooks. If it's to prevent jobs already created from being run, you can set their run_at date to a distant future.

@betamatt betamatt closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.