Skip to content

Instantly share code, notes, and snippets.

@wickywills
Created April 1, 2020 07:24
Show Gist options
  • Save wickywills/bb85aba15015d58378720022ecab7b99 to your computer and use it in GitHub Desktop.
Save wickywills/bb85aba15015d58378720022ecab7b99 to your computer and use it in GitHub Desktop.
WP cron hooks are stored in the options table in an option named cron. WooCommerce likes to fill this over time until it is too big to write.
While not perhaps optimal, what I do is just empty it:
```
UPDATE wp_2_options SET option_value = '' WHERE option_name = 'cron'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment