CORE
Loading...
Projects
/Default

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 minutes

Polls for stalled or queued COREView report generation jobs and retries them. Ensures background AI report generation recovers from failures without manual intervention.

*/2 * * * *·/api/cron/report-generation-heartbeat

Integrations

HubSpot Email Sync

Every 5 minutes

Syncs emails from HubSpot deals into CORE's unified email store. Since HubSpot doesn't support webhooks for email engagements, this polls for new emails.

*/5 * * * *·/api/cron/hubspot-email-sync

Microsoft Graph Token Renewal

Every 12 hours

Renews 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.

0 */12 * * *·/api/cron/microsoft-graph-renew

Communications

Notification Checks

Every hour

Checks for time-based notifications such as task due date reminders, document expiration alerts, and other scheduled notifications.

0 * * * *·/api/cron/notifications

Document 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.

0 23 * * *·/api/cron/document-collection-digest

Daily 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.

0 22 * * *·/api/cron/daily-digest

Weekly 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.

0 14 * * 1·/api/cron/weekly-digest

Maintenance

Data Room Cleanup

Daily at 3:00 AM UTC

Cleans up expired or orphaned files from data rooms. Removes temporary files and expired share links.

0 3 * * *·/api/cron/cleanup-dataroom

Library 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.

0 14 * * *·/api/cron/library-seeder

Configuration

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