aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/load_bbh_reports.py1
-rw-r--r--scripts/baml_cash.timer9
2 files changed, 1 insertions, 9 deletions
diff --git a/python/load_bbh_reports.py b/python/load_bbh_reports.py
index bd1dd6db..59d72c23 100644
--- a/python/load_bbh_reports.py
+++ b/python/load_bbh_reports.py
@@ -97,6 +97,7 @@ def load_reports(date):
def download_val_report(date):
reports_dir = DAILY_DIR / str(date) / "Reports"
+ reports_dir.mkdir(parents=True, exist_ok=True)
sftp = SftpClient.from_creds("bbh")
for f in sftp.client.listdir("frombbh"):
if f.split(".")[1] == f"{date:%Y%m%d}":
diff --git a/scripts/baml_cash.timer b/scripts/baml_cash.timer
deleted file mode 100644
index 88136a1a..00000000
--- a/scripts/baml_cash.timer
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Download and load cash balances for baml reporting
-[Timer]
-OnCalendar=Mon..Fri 7:30
-Unit=simple@baml.service
-RandomizedDelaySec=1m
-
-[Install]
-WantedBy=timers.target