bullmq icon indicating copy to clipboard operation
bullmq copied to clipboard

[Bug]: repeatable jobs not working with python

Open jaredmcqueen opened this issue 5 months ago • 3 comments

Version

5.13.0

Platform

NodeJS

What happened?

according to the docs:

Every time a repeatable job is picked up for processing, the next repeatable job is added to the queue with a proper delay. Repeatable jobs are thus nothing more than delayed jobs that are added to the queue according to some settings.

I have tried both cron schedule pattern and every. Both create the repeated job scaffolding in redis, and both jobs work on the first run

after the first job run, no new job is rescheduled, so jobs only ever repeat once.

image image

How to reproduce.

create a repeatable job in typescript

pull the jobs in python

jobId does look different with repeatable jobs - like this: jobId='repeat:dec4ba3039956b6560feae8ac0a67850:1726582010000

Relevant log output

N/A

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

jaredmcqueen avatar Sep 17 '24 14:09 jaredmcqueen