diff --git a/convex/crons.ts b/convex/crons.ts index 38bacdb..7279f87 100644 --- a/convex/crons.ts +++ b/convex/crons.ts @@ -4,6 +4,11 @@ import { api } from "./_generated/api" const crons = cronJobs() // Check hourly and the action will gate by America/Sao_Paulo hour -crons.interval("hours-usage-alerts-hourly", { hours: 1 }, api.alerts_actions.sendHoursUsageAlerts) +crons.interval( + "hours-usage-alerts-hourly", + { hours: 1 }, + api.alerts_actions.sendHoursUsageAlerts, + {} +) export default crons