Job flow 16 · task:billing-cycle-reconciliation

Job flow 16 · task:billing-cycle-reconciliation A workflow diagram generated by Archify. 01 / Queued by EX / Stops, skips or waits 03 / repeatableWorker → billingCycleQueueService 04 / Writes, messages or next jobs Hourly at :00 · cron 0 * * * * · Queued by Hourly at :00 cron 0 * * * * Excluded subscriptions · free / no provider / other status · Stops, skips or waits Excluded subscriptions free / no provider / other status Keep existing job · already pending execution · Stops, skips or waits Keep existing job already pending execution No repair in margin · ended ≤15 min ago · Stops, skips or waits No repair in margin ended ≤15 min ago Wait for charge result · lock / pending debit · Stops, skips or waits Wait for charge result lock / pending debit Find paid ACTIVE rows · period end ≤ now +1 h · repeatableWorker → billingCycleQueueService Find paid ACTIVE rows period end ≤ now +1 h Renewal job exists? · waiting, delayed, active · repeatableWorker → billingCycleQueueService Renewal job exists? waiting, delayed, active Overdue by 15 min? · else future-only repair · repeatableWorker → billingCycleQueueService Overdue by 15 min? else future-only repair Check charge in flight · Redis + Razorpay pending · repeatableWorker → billingCycleQueueService Check charge in flight Redis + Razorpay pending Restore billing job · same sub + cycle ID · repeatableWorker → billingCycleQueueService Restore billing job same sub + cycle ID Queue renewal · period end or immediately · Writes, messages or next jobs Queue renewal period end or immediately not selected yes too recent busy add Legend Policy Tool action Context / trace