[Answered ]-Django – schedule recurring task interval

1👍

rqscheduler seems to have option to set the interval when started:

$ ./manage.py rqscheduler --interval=120
👤Alex

1👍

you are using

from django_rq import job

check source code here. You can see that job method eventually calls job method of from rq.decorators. If you go even deeper into source code, you can see there is no interval argument accepted.

https://github.com/ui/rq-scheduler/ does offer schedule inteval scheduler.schedule().

Leave a comment