bossbat
bossbat copied to clipboard
Stupid simple distributed job scheduling in node, backed by redis.
I would like have a bunch of worker machines and one main server that dispatches the job to the workers, but from the source code I don't see how to...
The job name could be used as a cache key to look up further contextual data
Consider this code: ```js this.bossbat.hire('cronjob', { every: '1 seconds', work: async () => { console.log(new Date(), 'Cronjob fired'); await new Promise(resolve => setTimeout(resolve, 1000)); // This is a workaround that...