Commit b83cf2f7 by Phạm Văn Đoan

đặt lại lịch crawler

parent 7668b5a3
...@@ -54,15 +54,18 @@ class Kernel extends ConsoleKernel ...@@ -54,15 +54,18 @@ class Kernel extends ConsoleKernel
//$schedule->command('zing:get-track')->everyThirtyMinutes(); //$schedule->command('zing:get-track')->everyThirtyMinutes();
//$schedule->command('zing:get-new-release-track')->hourlyAt(5); //$schedule->command('zing:get-new-release-track')->hourlyAt(5);
//$schedule->command('nct:get-track')->hourlyAt(10); //$schedule->command('nct:get-track')->hourlyAt(10);
//$schedule->command('nhacvn:get-track')->hourlyAt(15); //$schedule->command('nhacvn:get-track')->hourlyAt(15);
//$schedule->command('keeng:get-track')->hourlyAt(20); //$schedule->command('keeng:get-track')->hourlyAt(20);
//$schedule->command('crawler:get-track-image')->hourlyAt(35); //$schedule->command('crawler:get-track-image')->hourlyAt(35);
$schedule->command('zing:get-track')->twiceDaily(11, 20);
$schedule->command('zing:get-new-release-track')->dailyAt('13:00');
$schedule->command('nct:get-track')->dailyAt('14:00');
$schedule->command('nhacvn:get-track')->dailyAt('15:00');
$schedule->command('keeng:get-track')->dailyAt('10:00');
$schedule->command('crawler:get-track-image')->dailyAt('21:00');
// 22h bắt đầu quét. Quét 3 lần, lần cuối quét hết // 22h bắt đầu quét. Quét 3 lần, lần cuối quét hết
$schedule->command('crawler:get-listen keeng')->dailyAt('22:00'); $schedule->command('crawler:get-listen keeng')->dailyAt('22:00');
$schedule->command('crawler:get-listen keeng')->dailyAt('22:05'); $schedule->command('crawler:get-listen keeng')->dailyAt('22:05');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment