Automate a Task with Ofelia Cron in Docker and FastAPI

Tiempo de lectura: < 1 minuto Reading Time: 1 minute Hello, today we are going to learn how to automate a task using Ofelia, FastAPI, and SQLAlchemy. The first thing we are going to do is create the file that we want to execute with Ofelia’s Cron: cron_execute.py # Create or get db_session from crud.operations_crud import operacion_crud_generar_estadisticas from config.connection import get_db … Read more