المقالات متاحة باللغة الإنجليزية.

Cron Worker Settings

Use the centralized Cron Worker hub for scheduled jobs across appointments, catalog, campaigns, bot sequences, connectors, CTWA retries, email polling, and automation.

Last updated

On this page

Introduction

Cron Worker is the central operational hub for scheduled and background jobs. Instead of configuring separate cron commands per module, admins should use the single hub command and manage module jobs from this Settings page.

Storefront and Email scheduled work also runs through this same hub. The retired standalone Storefront and Email worker files are not supported cron commands and cannot process work.

The Hub Status summary aligns Last Start, Last Finish, and Last Success timestamps on one row, with heartbeat and cleanup guidance aligned beneath them for faster comparison.

A module setting can be correct but still not run if the central Cron Worker is disabled or the related job is off.

What Cron Worker Controls

Jobs are grouped by module in responsive cards. Wide groups such as Catalog, Campaigns, and Integration Marketplace keep related job cards together so interval, batch limit, status, and Run Now controls stay inside the same module section.

Job groupCommon tasks
AppointmentAppointment Automation messages, email cards, reminders, retries, and run processing. Do not use a separate appointment cron command.
Commerce AutomationCatalog order automation, checkout follow-up, cart recovery, webhooks, Google Sheet sync, payment reminders, order/delivery updates, email, and reorder prompts.
StorefrontExpire overdue payment sessions, reconcile paid orders with canonical invoices, and process retryable Storefront automation delivery.
Invoice ManagementProcess source events, provider payment events, lifecycle email/WhatsApp delivery, and due reminders through the shared retry-safe worker.
CampaignScheduled campaign starts and queued delivery.
BotSequence / ChatbotFollow-up sequence steps and delay/wait node resumption.
OmnichannelBackground Email import.
Integration MarketplaceConnector scheduler and queued connector jobs.
تكامل واجهة برمجة التطبيقاتRetry outbound webhook/API deliveries.
الأمانRemove Login Activity records after the Enterprise Security Login Activity retention period.
InboxRemote relay sync for localhost/relay testing mode, plus maintenance cleanup such as empty media folders.
انقر لإعلانات واتسابBackground Google Sheets sync and retryable Meta conversion callback delivery.
Voice Multilingual / ReportsVoice translation queue, generated audio cleanup, and scheduled report email delivery.

How to Set Up Cron Worker

  1. Open Settings > Cron Worker.
  2. Copy the single hub command shown on the page.
  3. Add that command to the server cron or scheduled task at the recommended interval.
  4. Use the prominent Managed Jobs selector to choose the job you want to review or edit.
  5. Enable only the jobs your business uses.
  6. Save the Cron Worker settings.
  7. Use Run Hub Now to run due jobs with the saved settings. It does not save edits on this page. If the central hub is disabled, it reports Skipped and does not run jobs.
  8. Use Process Due Items on a job card to save the current form values and run that one job manually.
  9. Review last-run/heartbeat status after the first scheduled run.

Job Card Process Due Items Buttons

Each Cron Worker job card can be run manually by users with Cron Worker run permission. The button first saves the current Cron Worker form values, then executes only that selected job.

For Campaign Queue Worker, Process Due Items also recovers old HTTP/browser processing locks that are safe to return to pending, then processes the available queue batch immediately.

Process Due Items does not ignore an item schedule. For example, a Connector Delayed Automation message delayed by 5 minutes is processed only after its due time has passed.

Interval and Batch Limit

Interval is the minimum number of minutes between automatic runs for that job when the central Cron Worker hub is being called by hosting cron. Interval 1 means the job is eligible to run about once per minute.

Batch Limit is the maximum number of due items that job will process in one run. The allowed range depends on the selected job. Batch Limit 10 means one run processes up to 10 due delayed commerce messages, then the next run continues with the next due items.

Job Ownership Rule

Commerce Automation is the owner for Catalog order automation. Use the Commerce Automation job for Catalog follow-up, cart recovery, webhooks, Google Sheet sync, and commerce messages.

Invoice Management remains the owner for invoice creation, payment-state processing, reminders, PDF delivery, and delivery retries. Storefront jobs publish normalized work into that contract instead of changing invoice financial fields directly.

FAQs & Troubleshooting

Can I keep old standalone Catalog worker commands?

Use the Commerce Automation worker for Catalog automation. Older Catalog worker files are legacy paths and should not be used as separate owners.

Should I add separate Storefront or Email cron commands?

No. Add only the single Central Cron Worker hub command shown on this page, then enable and manage the Storefront and Email jobs inside the hub.

Troubleshooting Checklist

  • If reminders or queued sends do not run, check the hub command, global hub status, job enabled state, and last-run time.
  • If CTWA Meta callbacks stay queued or failed, confirm the CTWA Meta conversion job is enabled and the dataset/API settings are valid.
  • If a campaign was started while the worker path was unavailable and remains queued, enable Central Cron Hub, keep Campaign Queue Worker enabled, then click Process Due Items on that job card.
  • If Catalog automation does not run, check the Commerce Automation job first because it owns the Catalog automation path.
Next ArticleWhatsApp Calling Settings