Skip to content

Laravel style daemon worker #84

@Saggre

Description

@Saggre

I'd like to implement and create a PR for a Laravel style wp-cron worker.

The idea is to constantly keep WordPress loaded in a separate process to avoid allocating and de-allocating memory every time wp cron event run is called. The worker would then process any wp-cron events that become due. I'm hoping this would free up resources on the server.

The command itself would look something like wp cron event worker or wp cron event daemon

Laravel documentation:
https://laravel.com/docs/9.x/queues#the-queue-work-command

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions