Commit 8063f024 by Phạm Văn Đoan

thiết lập schedule cho task lấy ảnh bài hát 1h/1 lần

parent 463107ca
...@@ -36,6 +36,7 @@ class Kernel extends ConsoleKernel ...@@ -36,6 +36,7 @@ class Kernel extends ConsoleKernel
$schedule->command('crontjob:test')->hourly(); $schedule->command('crontjob:test')->hourly();
$schedule->command('zing:get-track')->everyThirtyMinutes(); $schedule->command('zing:get-track')->everyThirtyMinutes();
$schedule->command('zing:get-track-image')->hourly();
$schedule->command('queue:work --once --timeout=120')->everyMinute()->withoutOverlapping(); $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