Created
January 6, 2020 21:40
-
-
Save hadrienblanc/dc9d6104dc5bc3bc621f695f4442be1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dw = Delayed::Worker.new | |
dj = Delayed::Job.last # assuming that the last job is the failed one, otherwise use a proper query to | |
# locate it | |
dw.run dj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.sitepoint.com/delayed-jobs-best-practices/ more ℹ️