Skip to content

Instantly share code, notes, and snippets.

@matthewpoer
Created March 20, 2015 15:06
Show Gist options
  • Save matthewpoer/84acb05adf179de56f99 to your computer and use it in GitHub Desktop.
Save matthewpoer/84acb05adf179de56f99 to your computer and use it in GitHub Desktop.
Re-queue some number of failed job_queue entries based on the fact that they failed and are of a certain name
update job_queue set
date_modified = date_entered,
execute_time = date_entered,
status = 'queued',
resolution = 'queued',
message = NULL,
failure_count = NULL,
client = ''
where name = 'tcx_job_account_set_teams' and resolution = 'failure';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment