From 3eb289eed47cbb42be362cddcdb9110c72dc9cc3 Mon Sep 17 00:00:00 2001 From: Shettland Date: Thu, 14 Nov 2024 12:33:39 +0100 Subject: [PATCH] Included start and end text timestamp --- dashboard/cron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/cron.py b/dashboard/cron.py index e4bb7ca..a75d0d4 100755 --- a/dashboard/cron.py +++ b/dashboard/cron.py @@ -56,7 +56,7 @@ def update_graphic_json_data(): # Start updating all graphic jsons print("Starting graphic jsons update...") - print("Timestamp: ", datetime.today().strftime('%Y-%m-%d %H:%M:%S')) + print("Start timestamp: ", datetime.today().strftime('%Y-%m-%d %H:%M:%S')) print("Running pre_proc_calculation_date()") dashboard.utils.generic_process_data.pre_proc_calculation_date() print("Running pre_proc_variant_graphic()") @@ -84,4 +84,4 @@ def update_graphic_json_data(): chromosome=chromosome ) print("Graphic jsons update finished") - print(datetime.today().strftime('%Y-%m-%d %H:%M:%S')) + print("End timestamp: ",datetime.today().strftime('%Y-%m-%d %H:%M:%S'))