Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

🐛fix cron

+3 -3
+2 -2
apps/web/src/app/api/internal/email/route.ts
··· 17 17 const date1 = new Date(); 18 18 date1.setDate(date1.getDate() - 3); 19 19 const date2 = new Date(); 20 - date2.setDate(date2.getDate() - 3); 20 + date2.setDate(date2.getDate() - 2); 21 21 const users = await db 22 22 .select() 23 23 .from(user) ··· 27 27 if (user.email) { 28 28 await sendEmail({ 29 29 from: "Thibault Le Ouay Ducasse <thibault@openstatus.dev>", 30 - subject: "Level up your website and API monitoring.", 30 + subject: "How's it going with OpenStatus?", 31 31 to: [user.email], 32 32 react: FollowUpEmail(), 33 33 });
+1 -1
apps/web/vercel.json
··· 26 26 }, 27 27 { 28 28 "path": "/api/internal/email", 29 - "schedule": "00 18 * * *" 29 + "schedule": "00 17 * * *" 30 30 } 31 31 ] 32 32 }