Start populating monthly billing on a schedule

This commit is contained in:
Imdad Ahad
2017-08-01 11:38:25 +01:00
parent a08de0939b
commit 5b9377c697
2 changed files with 6 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ class PopulateMonthlyBilling(Command):
def run(self, service_id, year):
start, end = 1, 13
if year == '2016':
start = 6
start = 4
print('Starting populating monthly billing for {}'.format(year))
for i in range(start, end):