Created
June 30, 2023 20:52
-
-
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
This file contains hidden or 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 FROMwp_actionscheduler_actions WHERE status IN ('failed','canceled') | |
TRUNCATE wp_actionscheduler_logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.org/support/topic/30419984-scheduled-actions/