Created
July 24, 2013 16:35
-
-
Save matthewpoer/6072197 to your computer and use it in GitHub Desktop.
Sometimes you want to make that scheduler run again, damnit. You need to clear the log and pretend that the scheduler hasn't run ever/in a long time. So throw this at your database, replacing the ID with that of the Scheduler you're working on.
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
delete from job_queue | |
where scheduler_id = '6b867112-a876-a867-2df1-5088b60bb6d2'; | |
update schedulers set last_run = subdate(now(),360) | |
where id = '6b867112-a876-a867-2df1-5088b60bb6d2'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment