

-retry-interval Interval between retries in seconds.-at-front Will place the job at the front of the queue, instead.-depends-on Specifies another job id that must complete before this.-description Additional description of the job.-failure-ttl Specifies how long failed jobs are kept.-ttl Specifies the maximum queued time of the job before.

-result-ttl Specifies how long successful jobs and their results.-timeout Specifies the maximum runtime of the job before it is.To your job and not to RQ’s enqueue function, this is what you do: In the last case, if you want to pass description and ttl keyword arguments This is useful if your function happens to haveĬonflicting argument names with RQ, for example description or ttl. args and kwargs: use these to explicitly pass arguments and keyword to the.on_failure allows you to run a function after a job fails.on_success allows you to run a function after a job completes successfully.description to add additional description to enqueued jobs.at_front will place the job at the front of the queue, instead of the.job_id allows you to manually specify this job’s job_id.depends_on specifies another job (or list of jobs) that must complete before this.failure_ttl specifies how long failed jobs are kept (defaults to 1 year).

This argument defaults to None (infinite TTL).
