Commit fe3d44bd by Phạm Văn Đoan

thay đổi thời gian chạy

parent fb424b28
......@@ -53,7 +53,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('crontjob:test')->everyFiveMinutes();
$schedule->command('crontjob:test')->hourly();
//$schedule->command('zing:get-track')->everyThirtyMinutes();
//$schedule->command('zing:get-new-release-track')->hourlyAt(5);
......@@ -64,10 +64,11 @@ class Kernel extends ConsoleKernel
$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('nct:get-track')->dailyAt('13:10');
$schedule->command('nhacvn:get-track')->dailyAt('13:20');
$schedule->command('keeng:get-track')->dailyAt('10:00');
$schedule->command('crawler:get-track-image')->dailyAt('21:00');
$schedule->command('crawler:get-track-image')->dailyAt('13:30');
$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
$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