16 lines
399 B
PHP
16 lines
399 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schedule;
|
|
|
|
Schedule::command('attendance:send-reminder')
|
|
->daily()
|
|
->at('07:30')
|
|
->withoutOverlapping()
|
|
->appendOutputTo(storage_path('logs/attendance-reminder.log'));
|
|
|
|
Schedule::command('attendance:apply-penalties')
|
|
->daily()
|
|
->at('01:00')
|
|
->withoutOverlapping()
|
|
->appendOutputTo(storage_path('logs/attendance-penalties.log'));
|