feat: docs: generate_invoice management cmd
ci/woodpecker/push/woodpecker Pipeline was successful Details

fixes: https://gitea.hostea.org/Hostea/dashboard/issues/29
wip-recurring-payments
Aravinth Manivannan 2022-07-08 01:51:16 +05:30
parent 2ee54a71e3
commit 809322d245
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 12 additions and 0 deletions

View File

@ -26,3 +26,15 @@ python manage.py vm delete <VM-name>
This command is not idempotent. The command throws an error when a
a VM with the given name doesn't exist.
### 3. Generate Invoices: periodically generate invoices for VMs
```bash
python manage.py generate_invoice
```
Generates invoices for VMs which enter a new billing cycle and sends
notification email to VM owners.
This command can be run as many times as desirable but running at least
once in a day is advisable.