Added mail to inform users about still running time entries

This commit is contained in:
Constantin Graf
2024-07-18 12:49:28 +02:00
committed by Constantin Graf
parent 855db81104
commit 8db0a7d25e
10 changed files with 347 additions and 1 deletions

View File

@@ -14,7 +14,9 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule): void
{
// $schedule->command('inspire')->hourly();
$schedule->command('time-entry:send-still-running-mails')
->when(fn (): bool => config('scheduling.tasks.time_entry_send_still_running_mails'))
->everyTenMinutes();
}
/**