Closed Globik closed 7 years ago
I would say yes ;)
@Globik, you would be interested in {startIn: '30 minutes'}
passed as options during publish()
methinks
function ready() {
boss.publish('work', {message: 'stuff'}, {startIn: '30 minutes'})
.then(jobId => console.log(sent job ${jobId}
));?
startIn
is an either an int or a string which conforms to a PostgreSQL interval. Docs: https://github.com/timgit/pg-boss/wiki/Configuration#publish-optionssingletonOn
is for throttlingThank you very much for your explanations. One can close this issue. Very nice job.
Thanks
startIn does not work, startAfter is ok in version 3.0
Hi, just wondering wether the pg-boss is suitable for a scheduler-like mechanism? Say, job.publish in 30 minutes.