all repos — caroster @ 6d34e82cb7b23a297cb314049eab1a599e50ffd7

[Octree] Group carpool to your event https://caroster.io

feat: 🔧 Send end event emails at 23:30
Tim Izzo tim@octree.ch
Mon, 13 Feb 2023 10:58:02 +0000
commit

6d34e82cb7b23a297cb314049eab1a599e50ffd7

parent

2b810d8047851a8ab095f96c9547adadc104ff3e

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M backend/config/cron-tasks.tsbackend/config/cron-tasks.ts

@@ -23,9 +23,9 @@ },

/** * Send event recap when it has ended * Only to events with a provided 'date' field - * Everyday at 08:30 + * Everyday at 23:30 */ - "30 8 * * *": async ({ strapi }) => { + "30 23 * * *": async ({ strapi }) => { const events = await strapi.entityService.findMany("api::event.event", { filters: { date: {