Skip to content

Instantly share code, notes, and snippets.

@matthewpoer
Created July 24, 2013 16:35
Show Gist options
  • Save matthewpoer/6072197 to your computer and use it in GitHub Desktop.
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.
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