Background Processes
Scheduled tasks and automated processes running in CORE
About Cron Jobs
These jobs run automatically on Vercel's cron infrastructure. In production, they execute at the scheduled times. You can manually trigger them below for testing purposes.
AI & Generation
Report Generation Heartbeat
Every 2 minutesPolls for stalled or queued COREView report generation jobs and retries them. Ensures background AI report generation recovers from failures without manual intervention.
/api/cron/report-generation-heartbeatIntegrations
HubSpot Email Sync
Every 5 minutesSyncs emails from HubSpot deals into CORE's unified email store. Since HubSpot doesn't support webhooks for email engagements, this polls for new emails.
/api/cron/hubspot-email-syncMicrosoft Graph Token Renewal
Every 12 hoursRenews active Microsoft Graph webhook subscriptions before they expire. Required for real-time email sync via Microsoft 365 — subscriptions expire every ~3 days and must be renewed proactively.
/api/cron/microsoft-graph-renewCommunications
Notification Checks
Every hourChecks for time-based notifications such as task due date reminders, document expiration alerts, and other scheduled notifications.
/api/cron/notificationsDocument Verified Digest
Daily at 11:00 PM UTC (≈ 6–7 PM ET)Sends a single end-of-day summary email to borrowers covering all documents verified that day. Replaces per-document instant emails for completed statuses — rework/revision requests still fire immediately.
/api/cron/document-collection-digestDaily Activity Digest
Daily at 10:00 PM UTC (≈ 5–6 PM ET)Sends a daily summary email to analysts and team members covering activity across their deals — new uploads, tasks due, and pipeline updates.
/api/cron/daily-digestWeekly Activity Digest
Mondays at 2:00 PM UTC (≈ 9–10 AM ET)Sends a weekly summary email to analysts and team members every Monday covering the prior week's pipeline activity, completed tasks, and key milestones.
/api/cron/weekly-digestMaintenance
Data Room Cleanup
Daily at 3:00 AM UTCCleans up expired or orphaned files from data rooms. Removes temporary files and expired share links.
/api/cron/cleanup-dataroomLibrary Content Seeder
Daily at 2:00 PM UTC (≈ 9–10 AM ET)Syncs and re-seeds the CORE knowledge library — credit standards, underwriting guidelines, and AI prompt skills — from the source markdown files into the database.
/api/cron/library-seederConfiguration
Cron schedules are configured in vercel.json and deployed automatically with each release.
Timezone: All schedules use UTC timezone.
Monitoring: Job execution logs are available in the Vercel dashboard under Functions → Logs.
Learn more about Vercel Cron Jobs