HIDDEN BUSINESS LOGICScheduled jobs & background workers
Inventory cron/background behavior so billing, alerts, notifications, exports or controls do not disappear during software replacement.
2/4 readyDevice-command jobs are simulation-only in shadow mode. WaterPesa never executes an incumbent physical-control job simply to compare outputs.
Background-job registry
Schedule · side effect · idempotency · replacement mapping · shadow disposition.
| Job | Schedule | Side effect | Idempotency | Shadow mode | Safe disposition |
|---|
Daily frozen meter-read import Metering | 0 2 * * * | read_only | proven | passed | execute read only shadow |
Low-balance notification batch Customer operations | */30 * * * * | notification | designed | planned | sink to test channel |
Legacy arrears valve action Revenue | 0 7 * * * | device_command | unknown | not_planned | simulate only |
Month-end revenue export owner missing | 0 5 1 * * | external_export | proven | planned | execute read only shadow |
Open issues
gapJOB-CLOSE:idempotency_unknown_for_side_effect
gapJOB-REPORT:owner_missing
Replacement rule
1InventorySchedule and owner every background process.
2Classify effectsRead-only, notification, commercial write, device command or export.
3Shadow safelyCompare outputs without duplicating money, messages or physical actions.
4Retire deliberatelyDisable legacy jobs only after parity and rollback gates pass.