new feature: complain

This commit is contained in:
xiaomlove
2022-05-06 17:42:18 +08:00
parent f64834b594
commit 585e2ccfc3
15 changed files with 327 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ class Kernel extends ConsoleKernel
$schedule->command('hr:update_status --ignore_time=1')->hourly()->withoutOverlapping();
$schedule->command('user:delete_expired_token')->dailyAt('04:00');
$schedule->command('claim:settle')->hourly()->between("00:00", "12:00")
->when(function () {Carbon::now()->format('d') == '01';})->withoutOverlapping();
->when(function () {return Carbon::now()->format('d') == '01';})->withoutOverlapping();
}
/**