Put back daily schedule job to collect broadband traffic

This commit is contained in:
Deon George 2024-07-06 11:16:18 +10:00
parent 76d43a81c8
commit f458bb19c5

View File

@ -1,8 +1,10 @@
<?php <?php
use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Schedule;
use Illuminate\Support\Facades\Artisan;
//Artisan::command('inspire', function () { use App\Jobs\BroadbandTraffic;
// $this->comment(Inspiring::quote()); use App\Models\Supplier;
//})->purpose('Display an inspiring quote')->hourly();
Schedule::job(new BroadbandTraffic(Supplier::find(1)))
->timezone('Australia/Melbourne')
->dailyAt('10:00');