作者 赵彬吉

update

@@ -51,11 +51,15 @@ class UpdateSeoTdk extends Command @@ -51,11 +51,15 @@ class UpdateSeoTdk extends Command
51 if(!$project_id){ 51 if(!$project_id){
52 sleep(2); 52 sleep(2);
53 } 53 }
  54 + echo date('Y-m-d H:i:s') . ' start: ' . $project_id . PHP_EOL;
  55 +
54 ProjectServer::useProject($project_id); 56 ProjectServer::useProject($project_id);
55 $this->updateProduct($project_id); 57 $this->updateProduct($project_id);
56 $this->updateBlogs($project_id); 58 $this->updateBlogs($project_id);
57 $this->updateNews($project_id); 59 $this->updateNews($project_id);
58 DB::disconnect('custom_mysql'); 60 DB::disconnect('custom_mysql');
  61 +
  62 + echo date('Y-m-d H:i:s') . ' end: ' . $project_id . PHP_EOL;
59 } 63 }
60 } 64 }
61 65