Skip to main content

Overview

One cron-scheduled task tagged to the Campaigns facet directly maintains campaign sender state. A second cron that writes campaign weekly stats is tagged internal and lives under Core → Background jobs; it’s relevant here too and cross-referenced at the bottom.

sync-account-status

ScheduleDaily at 06:00 UTC
Cron0 6 * * *
Facetcampaigns
Filetrigger/sync-account-status.ts
Pulls the latest LinkedIn account status for every connected Unipile account and writes it back to the accounts table. If an account’s source status changes (e.g., OKCREDENTIALS), the accounts.status column flips to disconnected and any campaign using it pauses on the next send attempt.
What an agent should know. After this runs, a previously-healthy LinkedIn sender might start returning sender-unavailable errors on campaign launch — the account needs Reconnect a Unipile LinkedIn account before it can be used again. Also catches premium-tier changes (Sales Navigator / Recruiter flags) which affect weekly rate-limits.
Lives under Core → Background jobs. Copies every campaign’s stats into campaign_weekly_stats every Monday at 00:00 UTC — the source of the week-over-week delta in dashboard analytics. Tagged internal (no per-user cost), but functionally about campaigns.