mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 10:03:55 +02:00
Adding PurgeFiles command to scheduled tasks
This commit is contained in:
parent
88c9dfd6ff
commit
9bcb1ede79
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@ class Kernel extends ConsoleKernel
|
|||
*/
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
// $schedule->command('inspire')
|
||||
// ->hourly();
|
||||
$schedule->command(PurgeFiles::class)->everyFiveMinutes()->withoutOverlapping();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue