Skip to main content

Automations and schedules: what runs in the background

Every scheduled job in Metron, how often it runs, what it does and what you will notice. Times are East Africa Time unless stated.

2 min readUpdated 2026-11-20Owner / AdminNetwork engineerAccountant

Metron runs a set of scheduled jobs. You do not start them by hand. Each job is protected: it only answers requests that carry the platform's secret.

The jobs#

JobHow oftenWhat it does
Billing sweepEvery 15 minRetries stuck M-Pesa confirmations, checks finance integrity, runs follow-up for payments, and applies the grace and disconnect rules
SMS dispatchEvery minuteSends queued SMS
WhatsApp dispatchEvery minuteSends queued WhatsApp messages
Network syncEvery 15 minRetries failed router provisioning and imports router and SmartOLT state
Network healthEvery 5 minLogs in to routers and checks SmartOLT, raising alerts for outages
Outage reconcileEvery 5 minOpens and resolves PON outages from live OLT data
Hotspot expiryEvery 5 minEnds elapsed hotspot passes and removes router users
FUP runEvery 15 minApplies fair-usage rules (does nothing while FUP is off)
FinanceHourlyDaily finance snapshot and scheduled reports
Expiry remindersDaily, 09:00SMS to customers expiring soon or recently lapsed
Morning exceptionsDaily, early morningBuilds the list on Morning Exceptions

What you will notice#

  • Payments appear within seconds of M-Pesa confirming them. The sweep is a safety net for the rare confirmation that fails the first time.
  • After expiry, customers get a grace period and one reminder before disconnection. See Invoices and the billing sweep.
  • If more than a fifth of your active customers come due at once, nothing is disconnected until an admin releases it.

Efficiency#

Jobs skip work when there is nothing to do, and a router or integration that has been unreachable for a while is checked less often, so a dead target does not waste capacity. Each job still keeps a regular heartbeat. If something is down, the live check in the admin still probes everything.

If jobs seem not to run#

  1. Look at Sent Messages and Morning Exceptions for stale activity.
  2. Ask your Metron contact to confirm the scheduler is active for your account.
Something missing or wrong in this guide?WhatsApp usEmail feedback