Update console kernel, add ig import s3 job

This commit is contained in:
Daniel Supernault 2024-02-02 05:45:06 -07:00
parent edbb07cc37
commit 081360b905
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -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);