Skip to content

Commit

Permalink
修正加载logger错误-2
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghaonan committed Oct 12, 2018
1 parent 984c9a3 commit ac91a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/Crond.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function start(){
foreach ($taskList as $task) {
//获取任务的唯一名称
$taskUniqName = $task->getUniqTaskName();
echo $taskUniqName;
// echo $taskUniqName;
//判断是否single的任务 以及任务是否在执行
if ($task->isSingle() && $this->checkProcess($taskUniqName) === Crond::TASK_EXEC) {
$this->logger->info('task ' . $task->getTaskName() . " is running");
Expand Down

0 comments on commit ac91a68

Please sign in to comment.