Skip to content

程序已启动后的定时任务,无法通过更新定时任务配置使其停止 #5

@xiaoxigithub

Description

@xiaoxigithub

hyperf程序启动后,定时任务正常执行。
然后修改定时任务的配置为false,
$this->config->set('crontab.enable', false);
发现定时任务还是正常执行,并且在定时任务中去获取config('crontab.enable')的值始终为true

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