Commit 9182cb24 by Phạm Văn Đoan

thiết lập lại thời gian chạy task

parent edac321e
......@@ -43,11 +43,13 @@ class Kernel extends ConsoleKernel
$schedule->command('crontjob:test')->hourly();
$schedule->command('zing:get-track')->everyThirtyMinutes();
$schedule->command('zing:get-new-release-track')->hourlyAt(10);
$schedule->command('zing:get-new-release-track')->hourlyAt(5);
$schedule->command('crawler:get-track-image')->hourlyAt(15);
$schedule->command('crawler:get-track-image')->hourlyAt(10);
$schedule->command('nct:get-track')->hourlyAt(30);
$schedule->command('nct:get-track')->hourlyAt(25);
$schedule->command('nhacvn:get-track')->hourlyAt(35);
$schedule->command('queue:work --once --timeout=120')->everyMinute()->withoutOverlapping();
}
......
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