Update Kernel.php

This commit is contained in:
2020-10-03 20:20:53 +05:00
parent d5d661184f
commit 608522f148

View File

@@ -26,8 +26,9 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
$schedule->command('scrape:mihaaru')->everyFiveMinutes() $schedule->command('scrape:mihaaru')->everyFiveMinutes()
->runInBackground() ->pingOnSuccess(env('APP_URL') . "/api/ping/mihaaru")
->pingOnSuccess(env('APP_URL') . "/api/ping/mihaaru"); ->runInBackground();
$schedule->command('scrape:sun')->everyFiveMinutes() $schedule->command('scrape:sun')->everyFiveMinutes()
->runInBackground() ->runInBackground()