Knowledge Base

CRM: Cron Configuration

The CRM plugin registers a single cron task named crm_process with a 15-minute interval. Blesta's system cron runs this automatically once configured.

Ensure Blesta's cron is set up in your server's crontab:

*/5 * * * * /usr/bin/php /path/to/blesta/index.php cron

What the Cron Processes

Each run executes five jobs in order:

  1. Campaign step processor — Advances active enrollments to their next step. For email steps, renders the template and enqueues the message. For reminder steps, creates a reminder record.

  2. Email queue processor — Sends up to Batch Size queued emails via Blesta's mail system. Failed sends are retried with exponential backoff up to Max Retry Attempts.

  3. Reminder notifier — Finds reminders past their due date that haven't been notified yet. Sends an email to the assigned staff member and marks the reminder as notified.

  4. Rate limit cleanup — Deletes rate-limiting records older than 1 hour to keep the table small.

  5. Daily summary — If enabled and the configured send time has passed, gathers metrics and emails the summary to selected staff. Runs at most once per day.

Please rate this article to help us improve our Knowledge Base.

0 0