Skip to content

多实例运行定时任务问题 #3

@krissss

Description

@krissss

当webman部署多实例时,配置的 crontab 会多点运行,不符合预期

方案一:运行任务前加锁,运行后释放
方案二:迁移使用 xxljob 之类的分布式定时框架

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions