diff --git a/app.py b/app.py index b0bcb9f..9e331ee 100644 --- a/app.py +++ b/app.py @@ -282,7 +282,8 @@ def create_app(): """ Create and configure the Flask application. """ - return app # ← la variable que ya tienes arriba + start_scheduler() + return app if __name__ == "__main__": diff --git a/config_files/config_variables.py b/config_files/config_variables.py index ebf18ae..081721b 100644 --- a/config_files/config_variables.py +++ b/config_files/config_variables.py @@ -1,8 +1,8 @@ # Scheduler configuration variables # The date must be in the format YYYY-MM-DD. It must contain something, an empty string will not work and will raise an error. -_Start_scheduler_date = "2025-06-10" -_End_scheduler_date = "2025-06-20" -_Hour_scheduler = "10" # Runs every day at midnight -_Minute_scheduler = "28" -_Second_scheduler = "30" +_Start_scheduler_date = "2026-01-01" +_End_scheduler_date = "2026-12-31" +_Hour_scheduler = "00" # Runs every day at midnight +_Minute_scheduler = "00" +_Second_scheduler = "00"