my-projects-website/app/application/routes/console.php

7 lines
209 B
PHP
Raw Normal View History

<?php
use Illuminate\Support\Facades\Schedule;
$timezone = config('app.user_timezone');
Schedule::command(\App\Console\Commands\Files\DeleteOldFilesFromStorage::class)->timezone($timezone)->dailyAt('3:30');