mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-26 01:09:02 -05:00
35 lines
1.3 KiB
TypeScript
35 lines
1.3 KiB
TypeScript
import { CloseExpiredCommissionsRoutine } from "./closeExpiredCommissions";
|
|
import { DeleteOldNotificationsRoutine } from "./deleteOldNotifications";
|
|
import { DeleteOldTrustRoutine } from "./deleteOldTrusts";
|
|
import { NotifyCheckInStartRoutine } from "./notifyCheckInStart";
|
|
import { NotifyPlusServerVotingRoutine } from "./notifyPlusServerVoting";
|
|
import { NotifyScrimStartingSoonRoutine } from "./notifyScrimStartingSoon";
|
|
import { NotifySeasonStartRoutine } from "./notifySeasonStart";
|
|
import { SetOldGroupsAsInactiveRoutine } from "./setOldGroupsAsInactive";
|
|
import { SyncLiveStreamsRoutine } from "./syncLiveStreams";
|
|
import { UpdatePatreonDataRoutine } from "./updatePatreonData";
|
|
|
|
/** List of Routines that should occur hourly at XX:00 */
|
|
export const everyHourAt00 = [
|
|
NotifySeasonStartRoutine,
|
|
NotifyPlusServerVotingRoutine,
|
|
NotifyCheckInStartRoutine,
|
|
NotifyScrimStartingSoonRoutine,
|
|
];
|
|
|
|
/** List of Routines that should occur hourly at XX:30 */
|
|
export const everyHourAt30 = [
|
|
SetOldGroupsAsInactiveRoutine,
|
|
UpdatePatreonDataRoutine,
|
|
];
|
|
|
|
/** List of Routines that should occur daily */
|
|
export const daily = [
|
|
DeleteOldTrustRoutine,
|
|
DeleteOldNotificationsRoutine,
|
|
CloseExpiredCommissionsRoutine,
|
|
];
|
|
|
|
/** List of Routines that should occur every 2 minutes */
|
|
export const everyTwoMinutes = [SyncLiveStreamsRoutine];
|