Commit 27d124e8 by Phạm Văn Đoan

thay đổi thời gian lấy nhạc sĩ ở zing

parent 91b7bcc2
......@@ -125,7 +125,7 @@ class UpdateTrackArtistCommand extends Command
->whereNotNull('id_zing')
->where('id_zing', '<>', '')
->whereNull('composer_list')
->take(50)
->take(10)
->get();
if ($array_zing_track) {
......
......@@ -69,7 +69,9 @@ class Kernel extends ConsoleKernel
$schedule->command('crawler:get-track-image')->dailyAt('13:40');
// Cập nhật thông tin ca sĩ, nhạc sĩ sau 21h
$schedule->command('track:update-artist zing')->dailyAt('21:05');
//$schedule->command('track:update-artist zing')->dailyAt('21:05');
$schedule->command('track:update-artist zing')->twiceDaily(12, 14);
$schedule->command('track:update-artist zing')->dailyAt('20:10');
$schedule->command('track:update-artist keeng')->dailyAt('21:10');
$schedule->command('track:update-artist nct')->dailyAt('21:15');
......
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