feat(console): menambahkan schedule untuk generate payroll

This commit is contained in:
Yoga Pangestu 2025-11-09 18:46:24 +07:00
parent a2c722a9fe
commit a74580cc98

View File

@ -1,8 +1,5 @@
<?php <?php
use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Schedule;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () { Schedule::command('payroll:generate --current')->monthly();
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');