Page MenuHomePhabricator

Add some of a billing daemon skeleton
ClosedPublic

Authored by epriestley on Jan 30 2015, 4:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 5, 7:46 AM
Unknown Object (File)
Mon, Jun 30, 8:08 AM
Unknown Object (File)
Sun, Jun 29, 3:39 PM
Unknown Object (File)
Jun 6 2025, 7:46 PM
Unknown Object (File)
Apr 22 2025, 9:03 PM
Unknown Object (File)
Apr 21 2025, 2:58 PM
Unknown Object (File)
Mar 30 2025, 12:21 AM
Unknown Object (File)
Mar 26 2025, 4:31 PM
Subscribers

Details

Summary

Ref T6881. This adds the worker, and a script to make it easier to test. It doesn't actually invoice anything.

I'm intentionally allowing the script to double-bill since it makes testing way easier (by letting you bill the same period over and over again), and provides a tool for recovery if billing screws up.

(This diff isn't very interesting, just trying to avoid a 5K-line diff at the end.)

Test Plan

Used bin/phortune invoice ... to get the worker to print out some date ranges which it would theoretically invoice.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add some of a billing daemon skeleton.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 30 2015, 7:16 PM
This revision was automatically updated to reflect the committed changes.