Ofelia is a job scheduler for Docker environments that replaces traditional cron for containerized workloads.
Ofelia addresses the limitations of cron in modern Docker-based infrastructure by providing a scheduler purpose-built for container environments. Rather than running commands on the host system, it leverages Docker's API to execute commands directly inside running containers or spawn new containers for one-off tasks. This approach eliminates the complexity of wrapper scripts and containerized cron solutions by treating Docker as a first-class execution target. The tool supports standard cron expression syntax for scheduling, allowing familiar time-based job definitions.
The project suits teams running Docker or Docker Swarm who need reliable job scheduling without adding complexity to their container orchestration. It works well for maintenance tasks, backups, and periodic operations that should run inside containers rather than on the host. Ofelia offers four job types: executing commands in existing containers, running commands in new containers, running commands on the host, and running commands as temporary services in Swarm mode. This flexibility means a single scheduler can handle diverse job patterns without requiring separate tools.
The project maintains a substantial user base reporting real-world issues and feature requests, indicating active adoption. Response times to issues and pull requests typically span one to two weeks. The issue tracker is dominated by enhancement requests and user questions, suggesting the tool is stable enough for production use while continuing to evolve based on user needs.