I need a job scheduler (a library) that queries a db every 5 minutes and, based on time, triggers events which have expired and rerun on failure.
It should be in Python or PHP.
I researched and came up with Advanced Python Scheduler but it is not appropriate because it only schedules the jobs in its job store. Instead, I want that it takes jobs from a database.
I also found Taskforest, which exactly fits my needs except it is a text-file based scheduler meaning the jobs have to be added to the text-file either through the scheduler or manually, which I don’t want to do.
Could anyone suggest me something useful?
Here’s a possible solution
– a script, either in php or python performing your database tasks
– a scheduler : Cron for linux, or the windows task scheduler ; where you set the frequency of your jobs.
I’m using this solution for multiple projects.
Very easy to set up.