Created
December 4, 2019 08:27
-
-
Save mklasen/a5b1ff9bb5930922ad3ffd89b121b611 to your computer and use it in GitHub Desktop.
Run cronjobs for all sites via WP-CLI
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
wp site list --field=url | xargs -n1 -I % wp --url=% cron event run --due-now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment