|
...
|
...
|
@@ -15,7 +15,6 @@ class Kernel extends ConsoleKernel |
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
{
|
|
|
|
$schedule->command('sync_file')->everyThirtyMinutes()->withoutOverlapping(1);//每半小时执行同步
|
|
|
|
// 每日更新最新模块
|
|
|
|
$schedule->command('template_label')->dailyAt('01:00')->withoutOverlapping(1);//最新模块
|
|
|
|
$schedule->command('popular_template_label')->dailyAt('01:30')->withoutOverlapping(1);//热门模块
|
...
|
...
|
|