This commit is contained in:
mkm 2023-08-28 15:04:10 +08:00
parent b7d65315c6
commit 7d0b66de2c

View File

@ -16,8 +16,8 @@ class TaskCron extends Task
public function configure() public function configure()
{ {
// $this->daily(); //设置任务的周期,每天执行一次,更多的方法可以查看源代码,都有注释 $this->daily(); //设置任务的周期,每天执行一次,更多的方法可以查看源代码,都有注释
$this->everyMinute();//每分钟 // $this->everyMinute();//每分钟
} }
/** /**
* 执行任务 * 执行任务