Hi there,
i’ve created Background Job Manager
, a very basic app that allow to schedule jobs at particular hour/day/week/month/year using rq-scheduler.
rq-scheduler
is a small package that adds job scheduling capabilities to RQ.
Feel free to install, test, fork, comment; repo is available from github at:
https://github.com/giovanni-codrotech/jobtaskscheduler
It require rq-scheduler
and it has been added in requirements; in case it will not be installed, should be added manually using:
pip install rq-scheduler
rq-scheduler
comes with a script, rqscheduler
, that runs a scheduler process that polls Redis once every minute and move scheduled jobs to the relevant queues when they need to be executed.
It’s needed to add it at startup so i’ve added it to Procfile
in frappe-bench
folder:
rqscheduler: rqscheduler -H localhost -p 11000 -v
It should work on develop branch only
Any hint, critics, help is very very welcome
Maybe could be a start to add it on frappe …
Thx