-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When deployed on Zeabur at 18:18 (6:18 PM), the bot would execute a few times and then stop working. The bot is configured to run from 6 AM to 11 PM (23:00) with a 1.5-hour interval between executions.
The bot configuration in config.py is marked as an integer, I think zeabur does not understand it cause locally that configuration works. Of you see subte_alerta.py the timestamps defined to mark the executions (1.5 hours) of difference works perfectly.
I think you can translate the horario_analisis_inicio and horario_analisis_fin into the same languague timestaps works. I attached files for you to see how is working the system(not good)


error: por algun motivo se deguto la ejecución:"{
"ultima_actualizacion": "2025-10-17T08:16:31.817681-03:00",
"estados_actuales": {
"Linea A": "Estación Río de Janeiro cerrada por obras de renovación integral.",
"Linea B": "Carlos Gardel y Uruguay cerradas por obras. Viernes y Sábado con horario extendido.",
"Linea C": "Normal",
"Linea D": "Plaza Italia y Agüero cerradas por obras de renovación integral.",
"Linea E": "Normal",
"Linea H": "Hoy horario extendido desde Caseros hasta 1:30 am.",
"Linea Premetro": "Normal"
},
"historial": {
"Linea A_obra": {
"estado": "Estación Río de Janeiro cerrada por obras de renovación integral",
"linea_original": "Linea A",
"tipo": "obra",
"contador": 12,
"primera_deteccion": "2025-10-16T09:45:30.272689-03:00",
"ultima_notificacion": "2025-10-16T09:45:30.272773-03:00",
"es_obra_programada": true,
"detectada_por_texto": true,
"activa": true,
"ya_notificada": true
},
"Linea B_obra": {
"estado": "Carlos Gardel y Uruguay cerradas por obras",
"linea_original": "Linea B",
"tipo": "obra",
"contador": 2,
"primera_deteccion": "2025-10-17T06:46:26.190151-03:00",
"ultima_notificacion": "2025-10-17T08:16:31.817671-03:00",
"es_obra_programada": true,
"detectada_por_texto": true,
"activa": true,
"ya_notificada": true
},
"Linea D_obra": {
"estado": "Plaza Italia y Agüero cerradas por obras de renovación integral",
"linea_original": "Linea D",
"tipo": "obra",
"contador": 8,
"primera_deteccion": "2025-10-16T15:45:54.437706-03:00",
"ultima_notificacion": "2025-10-16T15:45:54.437725-03:00",
"es_obra_programada": true,
"detectada_por_texto": true,
"activa": true,
"ya_notificada": true
},
"Linea B_problema": {
"estado": "Viernes y Sábado con horario extendido",
"linea_original": "Linea B",
"tipo": "problema",
"contador": 2,
"primera_deteccion": "2025-10-17T06:46:26.190163-03:00",
"ultima_notificacion": "2025-10-17T08:16:31.817671-03:00",
"es_obra_programada": false,
"detectada_por_texto": false,
"activa": true,
"ya_notificada": true
},
"Linea H_problema": {
"estado": "Hoy horario extendido desde Caseros hasta 1:30 am",
"linea_original": "Linea H",
"tipo": "problema",
"contador": 2,
"primera_deteccion": "2025-10-17T06:46:26.190205-03:00",
"ultima_notificacion": "2025-10-17T08:16:31.817671-03:00",
"es_obra_programada": false,
"detectada_por_texto": false,
"activa": true,
"ya_notificada": true
}
}
}