Co-authored-by: Juan Felipe Zapata Moreno <juan.zapata@golsystems.com.mx> Co-committed-by: Juan Felipe Zapata Moreno <juan.zapata@golsystems.com.mx>
17 lines
439 B
PHP
17 lines
439 B
PHP
<?php
|
|
|
|
use App\Schedules\DeleteResetPasswords;
|
|
use Illuminate\Support\Facades\Schedule;
|
|
|
|
if(config('telescope.enabled') == 'true') {
|
|
Schedule::command('telescope:prune')->daily();
|
|
}
|
|
|
|
Schedule::call(new DeleteResetPasswords)->hourly();
|
|
|
|
Schedule::command('packages:check-expiring')
|
|
->dailyAt('09:00')
|
|
->timezone('America/Mexico_City')
|
|
->withoutOverlapping()
|
|
->appendOutputTo(storage_path('logs/packages-expiring.log'));
|