APScheduler is a light but powerful in-process task scheduler that lets you schedule functions (or callables) to be executed at times of your choosing. This can be a far better alternative to externally-spawned cron in cases where the number of jobs is dynamic and/or the jobs are created at runtime. It's a python library that allows to schedule jobs at a specific time or interval, and also allows to run jobs in the background as daemon thread, it is designed to be easy to use and flexible to different type of job scheduling. It is compatible with both Python 2 and Python 3 and it supports multiple scheduling methods such as interval-based execution, cron-like scheduling, and running at a specific time. It also provides a web-based interface for monitoring and managing scheduled jobs.