Skip to content

Commit

Permalink
add timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
czue committed Dec 17, 2024
1 parent b84d54b commit ffbab38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logistics_project/apps/malawi/warehouse/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def generate(self, run_record):
the entire warehouse process since reporting on zone is not a
requirement.
"""
print("Malawi warehouse generate!")
print("Cstock warehouse generate starting at %s." % str(datetime.now()))

start = run_record.start
end = run_record.end
Expand Down Expand Up @@ -138,6 +138,7 @@ def generate(self, run_record):
update_alerts(hsas)

update_historical_data()
print("Cstock warehouse completed at %s" % str(datetime.now()))

def aggregate_data(self, start, end, run_record, base_level):
products = get_products(base_level)
Expand Down

0 comments on commit ffbab38

Please sign in to comment.