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

Replace wp-cron with system cron job #24

Open
jackjamieson2 opened this issue Sep 12, 2018 · 3 comments
Open

Replace wp-cron with system cron job #24

jackjamieson2 opened this issue Sep 12, 2018 · 3 comments
Milestone

Comments

@jackjamieson2
Copy link
Owner

@dshanske suggested using a system cron job instead of wp-cron.
https://chat.indieweb.org/dev/2018-09-12/1536774813680400

GWG
You should try polling with cron
GWG
As opposed to wp cron

jackjamieson
Hmmm, any suggestions for references about doing that, or examples? I just did a quick google and it seems like result is referring to wp-cron

GWG
Well, look for disable wp cron and run it using a system cron job
GWG
But most people won't do that so you still need both

jackjamieson
I see - looking this up now

@dshanske
Copy link
Collaborator

It is for power users. Simple users won't know how to do this.

@jackjamieson2
Copy link
Owner Author

Yeah, I see what you mean. I'd like to prioritize ease of use as much as I can, so this will be a low priority.

Might think of some other ways to optimize the polling cron. Some brainstorming

  • For sites that have low traffic, so might not trigger wp-cron, ensure that requests to the endpoint trigger a poll if it hasn't happened recently
  • For sites that have a large number of feeds to poll, maybe split up the polling to make sure it does not monopolize server threads
  • Websub could eliminate (or at least deeply reduce) the need for manual polling and would be more efficient overall

@dshanske dshanske added this to the 1.1.0 milestone Mar 27, 2021
@dshanske
Copy link
Collaborator

This is just a documentation issue on how to do something many people do with their WordPress installations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants