From 530f4a82144f3399f72b761f8ed75225037e547e Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Wed, 4 Dec 2024 18:01:48 +0000 Subject: [PATCH] Update forge/housekeeper/tasks/inviteReminder.js Co-authored-by: Nick O'Leary --- forge/housekeeper/tasks/inviteReminder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge/housekeeper/tasks/inviteReminder.js b/forge/housekeeper/tasks/inviteReminder.js index 3981002bc9..bb7f514136 100644 --- a/forge/housekeeper/tasks/inviteReminder.js +++ b/forge/housekeeper/tasks/inviteReminder.js @@ -5,8 +5,8 @@ const { randomInt } = require('../utils') module.exports = { name: 'inviteReminder', startup: false, - // runs every 15mins with a random offset from the start of the hour - schedule: `${randomInt(0, 15)}/15 * * * *`, + // runs daily at a randomly picked time + schedule: `${randomInt(0, 59)} 6 * * *`, run: async function (app) { // need to iterate over invitations and send email to all over // 2 days old, but less than 3 days.