diff --git a/packages/server/modules/gatekeeper/index.ts b/packages/server/modules/gatekeeper/index.ts index 1a7d96208..68b9193a9 100644 --- a/packages/server/modules/gatekeeper/index.ts +++ b/packages/server/modules/gatekeeper/index.ts @@ -91,7 +91,8 @@ const scheduleWorkspaceTrialEmails = ({ }) // TODO: make this a daily thing // const cronExpression = '*/5 * * * * *' - const cronExpression = '0 0 12 * * ?' + // every day at noon + const cronExpression = '0 12 * * *' return scheduleExecution(cronExpression, 'WorkspaceTrialEmails', async () => { const getWorkspacesByPlanAge = getWorkspacesByPlanAgeFactory({ db }) const trialValidForDays = 31