Created by: cuchi
With this, the interval can be defined using a more flexible manner than cron, which was discussed in #942 (closed)
For example, when I need a job to execute every 90 minutes, I would do like that:
queue.add({ ... }, { repeat: { seconds: 5400 } })
I am not sure if it is the best API design for this, maybe the contributors have a better opinion on that. I need to update the reference and the TS definitions too.
We at @rung-tools will be testing this branch with our application to see if it is stable enough, I'll report here if something is not right.