Backup automatico script del 2026-07-12 07:00
This commit is contained in:
@@ -158,6 +158,15 @@ def telegram_send_markdown(message: str, chat_ids: Optional[List[str]] = None) -
|
||||
except Exception as e:
|
||||
LOGGER.exception("Errore invio Telegram chat_id=%s: %s", chat_id, e)
|
||||
|
||||
if ok_any:
|
||||
try:
|
||||
import sys
|
||||
sys.path.insert(0, "/home/daniely/docker/shared")
|
||||
from loogle_core.alert_dispatcher import mirror_to_web
|
||||
mirror_to_web(message, "nowcast_120m", "warning", is_html=False)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
return ok_any
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user