Configured the removal of old files that were not attached to the model or were marked as deleted.
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
<?php
|
||||
use Illuminate\Support\Facades\Schedule;
|
||||
|
||||
$timezone = config('app.user_timezone');
|
||||
|
||||
Schedule::command(\App\Console\Commands\Files\DeleteOldFilesFromStorage::class)->timezone($timezone)->dailyAt('3:30');
|
||||
|
Reference in New Issue
Block a user