From 809322d245d6ccad3964308613ca13e6199c5a22 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Fri, 8 Jul 2022 01:51:16 +0530 Subject: [PATCH] feat: docs: generate_invoice management cmd fixes: https://gitea.hostea.org/Hostea/dashboard/issues/29 --- docs/management-cmd.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/management-cmd.md b/docs/management-cmd.md index c3ac0f7..6c77365 100644 --- a/docs/management-cmd.md +++ b/docs/management-cmd.md @@ -26,3 +26,15 @@ python manage.py vm delete 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.