Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #581 - Use WP-CLI to run WP cron #583

Merged
merged 1 commit into from
Jul 28, 2016
Merged

Conversation

swalkinshaw
Copy link
Member

#533 caused a regression in the cron job which runs wp-cron.php. Since wp_home and wp_siteurl were changed to use bash and PHP variables, the cron command wouldn't work.

The solution is to avoid this and use WP-CLI's cron command for running due cron events.

Note: this can't be merged yet because the --due-now feature is not in the last WP-CLI release so we're waiting on the next one.

#533 caused a regression in the
cron job which runs `wp-cron.php`. Since `wp_home` and `wp_siteurl` were
changed to use bash and PHP variables, the cron command wouldn't work.

The solution is to avoid this and use WP-CLI's `cron` command for
running due cron events.
@swalkinshaw swalkinshaw merged commit aa7c064 into master Jul 28, 2016
@swalkinshaw swalkinshaw deleted the use-wp-cli-for-wp-cron branch July 28, 2016 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant