From f458bb19c53b42b30175a2a1350466a902c31ff5 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 6 Jul 2024 11:16:18 +1000 Subject: [PATCH] Put back daily schedule job to collect broadband traffic --- routes/console.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/routes/console.php b/routes/console.php index aaf16f7..1e186ad 100644 --- a/routes/console.php +++ b/routes/console.php @@ -1,8 +1,10 @@ comment(Inspiring::quote()); -//})->purpose('Display an inspiring quote')->hourly(); +use App\Jobs\BroadbandTraffic; +use App\Models\Supplier; + +Schedule::job(new BroadbandTraffic(Supplier::find(1))) + ->timezone('Australia/Melbourne') + ->dailyAt('10:00'); \ No newline at end of file