|
|
@@ -37,8 +37,7 @@ class DailyTask extends Command
|
|
|
*/
|
|
|
public function handle()
|
|
|
{
|
|
|
- $this->info('开始执行每日任务...');
|
|
|
-
|
|
|
+ $this->info('开始执行每日任务...' . now());
|
|
|
try {
|
|
|
Log::info('每日数据清洗任务执行中 - ' . now());
|
|
|
$start_time = time() - 60 * 5; // 5分钟前开始时间
|
|
|
@@ -50,7 +49,7 @@ class DailyTask extends Command
|
|
|
//执行低价挂网商品数据清洗任务
|
|
|
ScrapeDataProductJobs::dispatch($message_data);
|
|
|
}
|
|
|
- $this->info('每日任务执行完成!');
|
|
|
+ $this->info('每日任务执行完成!' . now());
|
|
|
return Command::SUCCESS;
|
|
|
} catch (\Exception $e) {
|
|
|
Log::error('每日定时任务执行失败: ' . $e->getMessage());
|