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.
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#
| Job | How often | What it does |
|---|---|---|
| Billing sweep | Every 15 min | Retries stuck M-Pesa confirmations, checks finance integrity, runs follow-up for payments, and applies the grace and disconnect rules |
| SMS dispatch | Every minute | Sends queued SMS |
| WhatsApp dispatch | Every minute | Sends queued WhatsApp messages |
| Network sync | Every 15 min | Retries failed router provisioning and imports router and SmartOLT state |
| Network health | Every 5 min | Logs in to routers and checks SmartOLT, raising alerts for outages |
| Outage reconcile | Every 5 min | Opens and resolves PON outages from live OLT data |
| Hotspot expiry | Every 5 min | Ends elapsed hotspot passes and removes router users |
| FUP run | Every 15 min | Applies fair-usage rules (does nothing while FUP is off) |
| Finance | Hourly | Daily finance snapshot and scheduled reports |
| Expiry reminders | Daily, 09:00 | SMS to customers expiring soon or recently lapsed |
| Morning exceptions | Daily, early morning | Builds 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#
- Look at Sent Messages and Morning Exceptions for stale activity.
- Ask your Metron contact to confirm the scheduler is active for your account.
Something missing or wrong in this guide?WhatsApp usEmail feedback