Bull: [Question] Is it possible to set specific run date/time?

Created on 13 Mar 2019  路  1Comment  路  Source: OptimalBits/bull

I'm wondering if it's possible to set a specific date/time for a job. I would like to schedule a job so it's processed at a specific date like:

imageQueue.add({image: 'http://example.com/image1.tiff'}, new Date(2018, 11, 10, 10, 20));
enhancement

Most helpful comment

this has been answered before, just calculate a delay in milliseconds from the moment you add the job to the moment you want it to be processed and add it as a delay job.

>All comments

this has been answered before, just calculate a delay in milliseconds from the moment you add the job to the moment you want it to be processed and add it as a delay job.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rodrigoords picture rodrigoords  路  4Comments

chocof picture chocof  路  3Comments

pigaov10 picture pigaov10  路  3Comments

pintocarlos picture pintocarlos  路  3Comments

inn0vative1 picture inn0vative1  路  4Comments