diff --git a/src/lib/features/scheduler/schedule-services.ts b/src/lib/features/scheduler/schedule-services.ts index 129feb580732..d38b6b9bd1dd 100644 --- a/src/lib/features/scheduler/schedule-services.ts +++ b/src/lib/features/scheduler/schedule-services.ts @@ -39,20 +39,6 @@ export const scheduleServices = async ( 'cleanLastSeen', ); - const uploadToS3JobName = 'uploadToS3'; - schedulerService.schedule( - jobService.singleInstance( - uploadToS3JobName, - async (range: { from: Date; to: Date }) => { - console.log(`Range: ${range}`); - return `${range.from.toISOString()} to ${range.to.toISOString()}`; - }, - 5, // 5 minutes bucket size - ), - minutesToMilliseconds(3), // every 3 minutes (to make sure we don't miss any bucket) - uploadToS3JobName, - ); - schedulerService.schedule( lastSeenService.store.bind(lastSeenService), secondsToMilliseconds(30),