bree icon indicating copy to clipboard operation
bree copied to clipboard

[feat] interval starts from job finished, not job started

Open meglio opened this issue 2 years ago • 3 comments

Is there a way to make a job re-occur N milliseconds after it finished previous time?

meglio avatar Aug 22 '21 02:08 meglio

Not directly in the configs. however you could listen for the 'worker deleted' event and then set a timeout for that job to run again.

If you would like to create a pull request for this then we would gladly review it.

shadowgate15 avatar Aug 23 '21 14:08 shadowgate15

Shell we leave this issue open and convert it into the feature request? Closing the issues will make the idea die until the next time someone needs it and asks again.

meglio avatar Aug 26 '21 01:08 meglio

Yes @meglio! Thank you for catching my mistake! 😅

shadowgate15 avatar Aug 26 '21 16:08 shadowgate15