作者 赵彬吉
... ... @@ -41,7 +41,6 @@ class UpdateProgress extends Command
public function handle()
{
$project_id = Redis::rpop('updateProgress');
while ($project_id){
echo date('Y-m-d H:i:s') . ' start: ' . $project_id . PHP_EOL;
try {
ProjectServer::useProject($project_id);
... ... @@ -52,7 +51,6 @@ class UpdateProgress extends Command
}
echo date('Y-m-d H:i:s') . ' end: ' . $project_id . PHP_EOL;
}
}
/**
* @remark :查看是否有为更新的记录
... ...