walkor / walkor/webman

定时计划任务 怎么做?

Open
#53 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.7k
Forks
251
PR merge metrics
No merged PRs in 30d

Description

crontab 任务怎么解决好呢?
目前是这么解决的

public function onWorkerStart()
{
Timer::add(60, function(){
if(date('H:i') === '08:00') {
…………
}
});
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.