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

Kill The Initial Cron #81

Open
mjangda opened this issue Mar 30, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@mjangda
Copy link
Member

commented Mar 30, 2016

Per discussions in #76 and #77, we should just remove all the cron stuff.

It's overly complex, has lots of problems (breaks on large sites, especially on initial activation) and doesn't match our use cases. Instead, we should document the CLI pieces better and provide examples on how best to configure ongoing updates.

@mjangda mjangda added the enhancement label Mar 30, 2016

@mjangda

This comment has been minimized.

Copy link
Member Author

commented Oct 13, 2016

Thinking this through a bit more (but open to discussion):

For sites that don't have access to a queue/tasks/jobs system, it would be impossible to run non-blocking updates for sitemaps (e.g. after a post is updated). So, we may want to keep cron around for individual sitemap updates, but remove the initial cron build and the generate/regenerate buttons.

@alexisbellido

This comment has been minimized.

Copy link

commented Nov 22, 2016

Hello, any update on this?

I have a large site where the cron process takes a very long time, slows down the site and seems to cause problems with scheduling posts and other cron-based tasks.

I think disabling all cron tasks by default and being able to use wp-cli or a special URL to call via curl (this one because services such as Pantheon don't allow running wp-cli commands from an external cron job) would be very helpful.

@mjangda mjangda changed the title Kill The Cron Kill The Initial Cron Dec 8, 2016

mjangda added a commit that referenced this issue Jan 4, 2017

Kill full sitemap cron generation
For really large datasets, this ends up in a flood of thousands of cron events that can
slow down or completely disable a site.

Fixes #81

@mjangda mjangda referenced a pull request that will close this issue Jan 4, 2017

Open

Kill full sitemap cron generation #99

mjangda added a commit that referenced this issue Jan 9, 2017

Kill full sitemap cron generation
For really large datasets, this ends up in a flood of thousands of cron events that can
slow down or completely disable a site.

Fixes #81

mjangda added a commit that referenced this issue Jan 9, 2017

Kill full sitemap cron generation
For really large datasets, this ends up in a flood of thousands of cron events that can
slow down or completely disable a site.

Fixes #81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.