Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Remove a Delayed Job #134

Open
severinhacker opened this issue Oct 28, 2013 · 0 comments
Open

Remove a Delayed Job #134

severinhacker opened this issue Oct 28, 2013 · 0 comments
Labels

Comments

@severinhacker
Copy link

It would be great to have an equivalent to the "remove_delayed" function of the original Resque scheduler.

# after you've enqueued a job like:
Resque.enqueue_at(5.days.from_now, SendFollowUpEmail, :user_id => current_user.id)
# remove the job with exactly the same parameters:
Resque.remove_delayed(SendFollowUpEmail, :user_id => current_user.id)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants