mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update console kernel, add ig import s3 job
This commit is contained in:
parent
edbb07cc37
commit
081360b905
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ class Kernel extends ConsoleKernel
|
||||||
$schedule->command('app:import-upload-garbage-collection')->hourlyAt(51);
|
$schedule->command('app:import-upload-garbage-collection')->hourlyAt(51);
|
||||||
$schedule->command('app:import-remove-deleted-accounts')->hourlyAt(37);
|
$schedule->command('app:import-remove-deleted-accounts')->hourlyAt(37);
|
||||||
$schedule->command('app:import-upload-clean-storage')->twiceDailyAt(1, 13, 32);
|
$schedule->command('app:import-upload-clean-storage')->twiceDailyAt(1, 13, 32);
|
||||||
|
|
||||||
|
if(config('import.instagram.storage.cloud.enabled') && (bool) config_cache('pixelfed.cloud_storage')) {
|
||||||
|
$schedule->command('app:import-upload-media-to-cloud-storage')->hourlyAt(39);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$schedule->command('app:notification-epoch-update')->weeklyOn(1, '2:21');
|
$schedule->command('app:notification-epoch-update')->weeklyOn(1, '2:21');
|
||||||
$schedule->command('app:hashtag-cached-count-update')->hourlyAt(25);
|
$schedule->command('app:hashtag-cached-count-update')->hourlyAt(25);
|
||||||
|
|
Loading…
Reference in a new issue