Skip to content

Conversation

ranLee1
Copy link

@ranLee1 ranLee1 commented Jun 29, 2021

fix Cron

  • 修复cron 不支持每几秒触发一次的问题

使用方式

class CronTask
{

    /**
     * @Cron(value="*\/5 * * * *")
     */
    public function check(): void
    {
        CLog::info("定时任务每5秒触发");
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant