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
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
//Artisan::command('inspire', function () {
// $this->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');