Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created June 30, 2023 20:52
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukecav/00cf8c90f3e39231dc0945696052a8c9 to your computer and use it in GitHub Desktop.
Save lukecav/00cf8c90f3e39231dc0945696052a8c9 to your computer and use it in GitHub Desktop.
Delete Action Scheduler actions with a status of failed and canceled and truncate the Action Scheduler logs database table
DELETE FROMwp_actionscheduler_actions WHERE status IN ('failed','canceled')
TRUNCATE wp_actionscheduler_logs
@lukecav
Copy link
Author

lukecav commented Jun 30, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment