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
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');
Schedule::command('payroll:generate --current')->monthly();