Here's an example of dynamic scheduler for taskiq. It uses postgres to store all tasks.
We created custom schedule source that is capable of storing and retrieving scheduled tasks.
Start workers by running:
taskiq worker tkq:broker --fs-discover
To run scheduler:
taskiq scheduler tkq:sched
Then you can add a task, by running
python main.py