Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down
10 changes: 5 additions & 5 deletions config_files/config_variables.py
Original file line number Diff line number Diff line change
@@ -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"
Loading