diff --git a/routes/console.php b/routes/console.php index d17f1ce..20498a9 100644 --- a/routes/console.php +++ b/routes/console.php @@ -17,3 +17,13 @@ Schedule::command('nurse:autofill') ->dailyAt('08:59') ->timezone(config('app.timezone', 'Europe/Moscow')) ->withoutOverlapping(); + +// Каждый день в 07:29 — досоздаём отчёты отделениям, у которых нет отчёта за текущую смену +Schedule::command('duty:autofill') + ->dailyAt('07:29') + ->timezone(config('app.timezone', 'Europe/Moscow')) + ->withoutOverlapping(); +Schedule::command('nurse:autofill') + ->dailyAt('07:29') + ->timezone(config('app.timezone', 'Europe/Moscow')) + ->withoutOverlapping();