作者 lyh
@@ -39,7 +39,7 @@ class Kernel extends ConsoleKernel @@ -39,7 +39,7 @@ class Kernel extends ConsoleKernel
39 $schedule->command('forward_count')->monthlyOn(1,'01:00')->withoutOverlapping(1);//没月月初1号执行月统计转发询盘记录 39 $schedule->command('forward_count')->monthlyOn(1,'01:00')->withoutOverlapping(1);//没月月初1号执行月统计转发询盘记录
40 $schedule->command('inquiry_delay')->everyMinute()->withoutOverlapping(1);//TODO::上线放开,转发询盘,每分钟执行一次 40 $schedule->command('inquiry_delay')->everyMinute()->withoutOverlapping(1);//TODO::上线放开,转发询盘,每分钟执行一次
41 $schedule->command('inquiry_count')->dailyAt('01:00')->withoutOverlapping(1); // 询盘统计数据,每天凌晨执行一次 41 $schedule->command('inquiry_count')->dailyAt('01:00')->withoutOverlapping(1); // 询盘统计数据,每天凌晨执行一次
42 - $schedule->command('domain_info')->dailyAt('01:20')->withoutOverlapping(1);// 更新域名|证书结束时间,每天凌晨1点执行一次 42 +// $schedule->command('domain_info')->dailyAt('01:20')->withoutOverlapping(1);// 更新域名|证书结束时间,每天凌晨1点执行一次
43 $schedule->command('last_inquiry')->dailyAt('04:00')->withoutOverlapping(1);// 最近一次询盘信息 43 $schedule->command('last_inquiry')->dailyAt('04:00')->withoutOverlapping(1);// 最近一次询盘信息
44 $schedule->command('update_seo_tdk_crontab')->dailyAt('20:00')->withoutOverlapping(1); //更新上线项目TDK 44 $schedule->command('update_seo_tdk_crontab')->dailyAt('20:00')->withoutOverlapping(1); //更新上线项目TDK
45 $schedule->command('sync_manager')->dailyAt('01:00')->withoutOverlapping(1); //TODO::手机号码同步 每天执行一次 45 $schedule->command('sync_manager')->dailyAt('01:00')->withoutOverlapping(1); //TODO::手机号码同步 每天执行一次
@@ -14,6 +14,7 @@ class Notify extends Base @@ -14,6 +14,7 @@ class Notify extends Base
14 const STATUS_FINISH_ROUTE = 1; 14 const STATUS_FINISH_ROUTE = 1;
15 const STATUS_FINISH_PAGE = 2; 15 const STATUS_FINISH_PAGE = 2;
16 const STATUS_FINISH_SITEMAP = 3; 16 const STATUS_FINISH_SITEMAP = 3;
  17 + const STATUS_ERROR = 9;
17 18
18 /** 19 /**
19 * 类型 1:主站, 2:小语种, 3:amp 20 * 类型 1:主站, 2:小语种, 3:amp
@@ -78,6 +79,7 @@ class Notify extends Base @@ -78,6 +79,7 @@ class Notify extends Base
78 self::STATUS_FINISH_ROUTE => '页面生成中', 79 self::STATUS_FINISH_ROUTE => '页面生成中',
79 self::STATUS_FINISH_PAGE => 'sitemap生成中', 80 self::STATUS_FINISH_PAGE => 'sitemap生成中',
80 self::STATUS_FINISH_SITEMAP => '完成', 81 self::STATUS_FINISH_SITEMAP => '完成',
  82 + self::STATUS_ERROR => 'sitemap生成失败',
81 ]; 83 ];
82 } 84 }
83 } 85 }