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

Potential Conflict with wp-cron.php in a Headless Setup #28

Open
alexookah opened this issue Dec 31, 2024 · 4 comments
Open

Potential Conflict with wp-cron.php in a Headless Setup #28

alexookah opened this issue Dec 31, 2024 · 4 comments

Comments

@alexookah
Copy link
Contributor

I suspect this plugin might be blocking WordPress cron jobs (wp-cron.php) from running correctly. Here’s the context:

My WordPress installation is configured as a headless setup, so the front-end is rarely visited.
Recently, I noticed that scheduled tasks like backups and plugin auto-updates have stopped working.
I’m wondering if the plugin is redirecting requests to /wp-cron.php, which could explain why these cron jobs aren't being triggered.

Maybe this path should be added in the plugin exluded paths?

@wpscholar
Copy link
Member

@alexookah Have you tried adding that path to the excluded paths via the UI (under advanced settings)? If that fixes it, then I'll definitely get that updated in the code. Thanks for the heads up.

@alexookah
Copy link
Contributor Author

Yes, I just verified it. I added the path, and now cron jobs, such as plugin updates and scheduled backups, are working properly. The path to wp-cron.php is essential for cron jobs like automatic plugin updates and scheduled backups. I believe it should be included in the core's list of excluded paths.

@alexookah
Copy link
Contributor Author

Created a PR for this
#29

@wpscholar
Copy link
Member

Thanks for the PR @alexookah
I've merged it and will release a new version of the plugin soon.

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

No branches or pull requests

2 participants