Commit 2194ab71 by Phạm Văn Đoan

thay đổi thời gian chạy task

parent d43301a1
...@@ -55,20 +55,12 @@ class Kernel extends ConsoleKernel ...@@ -55,20 +55,12 @@ class Kernel extends ConsoleKernel
{ {
$schedule->command('crontjob:test')->hourly(); $schedule->command('crontjob:test')->hourly();
//$schedule->command('zing:get-track')->everyThirtyMinutes();
//$schedule->command('zing:get-new-release-track')->hourlyAt(5);
//$schedule->command('nct:get-track')->hourlyAt(10);
//$schedule->command('nhacvn:get-track')->hourlyAt(15);
//$schedule->command('keeng:get-track')->hourlyAt(20);
//$schedule->command('crawler:get-track-image')->hourlyAt(35);
$schedule->command('zing:get-track')->twiceDaily(11, 20); $schedule->command('zing:get-track')->twiceDaily(11, 20);
$schedule->command('zing:get-new-release-track')->dailyAt('13:00'); $schedule->command('zing:get-new-release-track')->dailyAt('13:00');
$schedule->command('nct:get-track')->dailyAt('13:10'); $schedule->command('nct:get-track')->dailyAt('13:10');
$schedule->command('nhacvn:get-track')->dailyAt('13:20'); $schedule->command('nhacvn:get-track')->dailyAt('13:20');
$schedule->command('keeng:get-track')->dailyAt('10:00'); $schedule->command('keeng:get-track')->dailyAt('13:30');
$schedule->command('crawler:get-track-image')->dailyAt('13:30'); $schedule->command('crawler:get-track-image')->dailyAt('13:40');
$schedule->command('crawler:get-track-image')->dailyAt('20:10');
// 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');
......
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