mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 04:02:40 -05:00
* Initial * Progress * Fix * Progress * Notifications list page * BADGE_MANAGER_ADDED * Mark as seen initial * Split tables * Progress * Fix styles * Push notifs initial * Progress * Rename * Routines * Progress * Add e2e tests * Done? * Try updating actions * Consistency * Dep fix * A couple fixes
24 lines
933 B
TypeScript
24 lines
933 B
TypeScript
import { DeleteOldNotificationsRoutine } from "./deleteOldNotifications";
|
|
import { DeleteOldTrustRoutine } from "./deleteOldTrusts";
|
|
import { NotifyCheckInStartRoutine } from "./notifyCheckInStart";
|
|
import { NotifyPlusServerVotingRoutine } from "./notifyPlusServerVoting";
|
|
import { NotifySeasonStartRoutine } from "./notifySeasonStart";
|
|
import { SetOldGroupsAsInactiveRoutine } from "./setOldGroupsAsInactive";
|
|
import { UpdatePatreonDataRoutine } from "./updatePatreonData";
|
|
|
|
/** List of Routines that should occur hourly at XX:00 */
|
|
export const everyHourAt00 = [
|
|
NotifySeasonStartRoutine,
|
|
NotifyPlusServerVotingRoutine,
|
|
NotifyCheckInStartRoutine,
|
|
];
|
|
|
|
/** 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];
|