cleanup photos older than x hours
This commit is contained in:
1 parent
c796aea14e
commit
79789f41dd
4 files changed
+50
No files matched your search
@@ -2,7 +2,10 @@
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Facades\Schedule;
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote');
|
||||
|
||||
Schedule::command('photos:cleanup')->hourly();
|
||||
Reference in new issue
Block a user