|
@@ -33,7 +33,7 @@ class CityWarningNotice extends Command
|
|
|
$this->info('开始执行每日采集预警通知任务...' . now());
|
|
$this->info('开始执行每日采集预警通知任务...' . now());
|
|
|
try {
|
|
try {
|
|
|
Log::info('每日采集预警通知任务执行中 - ' . now());
|
|
Log::info('每日采集预警通知任务执行中 - ' . now());
|
|
|
- CityWarningNoticeJobs::dispatch();
|
|
|
|
|
|
|
+ CityWarningNoticeJobs::dispatchSync([]);
|
|
|
$this->info('每日采集预警通知执行完成!' . now());
|
|
$this->info('每日采集预警通知执行完成!' . now());
|
|
|
return Command::SUCCESS;
|
|
return Command::SUCCESS;
|
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|