mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update console kernel
This commit is contained in:
parent
30e08e676d
commit
fe51054122
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ class Kernel extends ConsoleKernel
|
||||||
$schedule->command('gc:failedjobs')->dailyAt(3);
|
$schedule->command('gc:failedjobs')->dailyAt(3);
|
||||||
$schedule->command('gc:passwordreset')->dailyAt('09:41');
|
$schedule->command('gc:passwordreset')->dailyAt('09:41');
|
||||||
$schedule->command('gc:sessions')->twiceDaily(13, 23);
|
$schedule->command('gc:sessions')->twiceDaily(13, 23);
|
||||||
|
|
||||||
|
if(config('pixelfed.cloud_storage') && config('media.delete_local_after_cloud')) {
|
||||||
|
$schedule->command('media:s3gc')->hourlyAt(15);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue