Kill The Initial Cron #81

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

Projects

None yet

2 participants

@mjangda
Member
mjangda 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
Member
mjangda 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

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 from Kill The Cron to Kill The Initial Cron Dec 8, 2016
@mjangda mjangda added a commit that referenced this issue Jan 4, 2017
@mjangda mjangda 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
d16eeb0
@mjangda mjangda added a commit that referenced this issue Jan 9, 2017
@mjangda mjangda 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
b9f570a
@mjangda mjangda added a commit that referenced this issue Jan 9, 2017
@mjangda mjangda 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
515ada8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment