Skip to content

Allow re-indexing to be triggered & executed via cron without WP-CLI #10

@KZeni

Description

@KZeni

I've detailed this previously at https://wordpress.org/support/topic/what-are-the-best-options-when-it-comes-to-triggering-a-reindex-via-cron-job-2/, but I figured I should post this here as well for greater visibility & communication on the matter.

In short, some hosting providers don't give CLI access or otherwise support WP-CLI. Currently, this plugin has buttons in the site admin for triggering & executing the site re-index, but those cannot be handled remotely / via a cronjob (the only means to trigger a re-index via a cronjob is currently using WP-CLI; which might not be available as previously mentioned.) A hosting provider that provides cronjob support without WP-CLI support/access would be the perfect use case for something like this (with a site wanting to trigger full re-indexes at scheduled intervals rather than relying on real-time index updates [ex. has an index that updates a ton of data frequently in minor ways when the search index really only needs the occasional update to greatly reduce search index operations.])

Meanwhile, I have access to WP-CLI, but #9 is making it so WP-CLI can't be used for re-indexing since that has problematic results, currently. So this would help this situation as well if this is implemented sooner than the WP-CLI re-indexing issue with SiteOrigin PageBuilder is fixed (while also still being useful for those unable to use WP-CLI as mentioned above.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions