(20260219) Cron ready for production test.

This commit is contained in:
2026-02-19 14:51:37 +05:30
parent d8aaf942b2
commit c7d9e4b7b5
+4 -4
View File
@@ -155,7 +155,7 @@ async def yesterday_cron(
# If something goes wrong in the COSEC step: # If something goes wrong in the COSEC step:
except Exception as exception: except Exception as exception:
err_printer(exception) err_printer(exception)
# if test_mode: raise if test_mode: raise
# Log out of TCAOFF: # Log out of TCAOFF:
success = await tcaoff_client.logout() success = await tcaoff_client.logout()
@@ -165,7 +165,7 @@ async def yesterday_cron(
except Exception as exception: except Exception as exception:
err_printer(exception) err_printer(exception)
await tcaoff_client.logout() await tcaoff_client.logout()
# if test_mode: raise if test_mode: raise
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
@@ -253,13 +253,13 @@ async def today_cron(
# If something goes wrong in the COSEC step: # If something goes wrong in the COSEC step:
except Exception as exception: except Exception as exception:
err_printer(exception) err_printer(exception)
# if test_mode: raise if test_mode: raise
# If something goes wrong: # If something goes wrong:
except Exception as exception: except Exception as exception:
err_printer(exception) err_printer(exception)
await tcaoff_client.logout() await tcaoff_client.logout()
# if test_mode: raise if test_mode: raise
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------