diff --git a/app/entry.server.tsx b/app/entry.server.tsx index 4a4fda0fd..912966c21 100644 --- a/app/entry.server.tsx +++ b/app/entry.server.tsx @@ -14,7 +14,6 @@ import { daily, everyHourAt00, everyHourAt30, - everyTwoHours, everyTwoMinutes, } from "./routines/list.server"; import { logger } from "./utils/logger"; @@ -112,12 +111,6 @@ if (!global.appStartSignal && process.env.NODE_ENV === "production") { } }); - cron.schedule("5 */2 * * *", async () => { - for (const routine of everyTwoHours) { - await routine.run(); - } - }); - cron.schedule("*/2 * * * *", async () => { for (const routine of everyTwoMinutes) { await routine.run(); diff --git a/app/routines/list.server.ts b/app/routines/list.server.ts index 594d21d4d..ff0a6bde4 100644 --- a/app/routines/list.server.ts +++ b/app/routines/list.server.ts @@ -15,6 +15,7 @@ export const everyHourAt00 = [ NotifyPlusServerVotingRoutine, NotifyCheckInStartRoutine, NotifyScrimStartingSoonRoutine, + SyncSplatoonRotationsRoutine, ]; /** List of Routines that should occur hourly at XX:30 */ @@ -29,8 +30,5 @@ export const daily = [ CloseExpiredCommissionsRoutine, ]; -/** List of Routines that should occur every 2 hours */ -export const everyTwoHours = [SyncSplatoonRotationsRoutine]; - /** List of Routines that should occur every 2 minutes */ export const everyTwoMinutes = [SyncLiveStreamsRoutine];