(20260219) Cron ready for production test.
This commit is contained in:
+4
-4
@@ -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
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user