1

I'm trying to implement the django-rq since I have some scraping that sometimes fails and has to be scheduled to run again after, say, 30 seconds.

As far as I understand, I push a job the queue by

django_rq.enqueue(scrape_func, foo, bar=baz)

is there a way to push it to the queue and give it

  1. A timestamp to run (like Airflow) e.g 0 01 * * *

or

  1. a time-delay before run (e.g 30 sec)
4

0 回答 0