Configured the removal of old files that were not attached to the model or were marked as deleted.

This commit is contained in:
kor-elf committed 2024-07-26 22:18:01 +05:00
1 parent dde792b97a
commit c84ed9f12b
10 files changed
+235 -8

No files matched your search

+4
View File
@@ -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');