Skip to content

Commit

Permalink
Update forge/housekeeper/tasks/inviteReminder.js
Browse files Browse the repository at this point in the history
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
  • Loading branch information
hardillb and knolleary authored Dec 4, 2024
1 parent b4f4742 commit 530f4a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forge/housekeeper/tasks/inviteReminder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 530f4a8

Please sign in to comment.