You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"WHEN user.lastDateModeChange < :twoWeeksAgo AND user.lastDateModeReminderSent >= :twoWeeksMinTime THEN 0 "+
72
+
"WHEN user.lastDateModeChange < :threeDaysAgo AND user.lastDateModeReminderSent < :threeDaysMinTime AND user.lastDateModeReminderSent > :twoWeeksAgo THEN 1 "+
73
+
"WHEN user.lastDateModeChange < :oneDayAgo AND user.lastDateModeReminderSent IS NULL THEN 1 "+
74
+
"ELSE 0 "+
75
+
"END = 1",
72
76
{
73
77
twoWeeksAgo: goBackInTimeFor(336,"hours"),
74
78
threeDaysAgo: goBackInTimeFor(72,"hours"),
79
+
oneDayAgo: goBackInTimeFor(24,"hours"),
75
80
twoWeeksMinTime: goBackInTimeFor(336-72,"hours"),
76
81
threeDaysMinTime: goBackInTimeFor(72-24,"hours"),
77
-
oneDayMinTime: goBackInTimeFor(24,"hours"),
78
82
},
79
83
);
80
84
@@ -92,15 +96,22 @@ export class GhostModeReminderCronJob extends BaseCronJob {
0 commit comments