We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51c5eb commit 0e23255Copy full SHA for 0e23255
app/utils/cron.server.ts
@@ -52,7 +52,7 @@ export async function sendNextTexts() {
52
const lastSent = new Date(lastMessage?.sentAt ?? 0)
53
const prev = interval.prev().toDate()
54
const next = interval.next().toDate()
55
- const nextIsSoon = next.getTime() - Date.now() < 1000 * 60 * 10
+ const nextIsSoon = next.getTime() - Date.now() < 1000 * 60 * 30
56
const due = lastSent < prev
57
const remind =
58
nextIsSoon && (lastRemindedAt?.getTime() ?? 0) < prev.getTime()
0 commit comments