Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Run workers with CronScheduler #2302

@gardenerik

Description

@gardenerik

Hello,

the new addition of Cron Scheduler is great news, but now we need to run another long running command. Would it be possible to allow running the cron scheduler as part of a worker? Similar to how --with-scheduler is available for workers.

Also, I would like to ask, is it safe to run multiple cron schedulers? In the case of normal schedulers, I understand that only one of the schedulers actually runs on a given queue. Is this the case for CronScheduler as well, or will it break when more than one is running? This should be mentioned in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions