Created
January 6, 2015 20:19
-
-
Save djburdick/a6ce85c3c777bf76737b to your computer and use it in GitHub Desktop.
Add rand time to delayed_jobs. #mysql
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
update `delayed_jobs` set run_at = DATE_ADD(NOW(), INTERVAL 480+rand()*45 MINUTE) where `last_error` like "%ticketNumber=%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment