From the kue docs,creating a queue and adding job is is easy but i cannot follow how the job is being stored
var kue = require('kue')
jobs = kue.createQueue();
adding a job
jobs.create('email', {
title: 'welcome email for tj'
, to: 'tj@learnboost.com'
, template: 'welcome-email'
}).priority('high').save();
The example is easy to understand but,what if i needed more options for instance in the example,like adding an advert option - , ad: 'we are the best'
jobs.create('email', {
title: 'welcome email for tj'
, to: 'tj@learnboost.com'
, ad: 'we are the best'
, template: 'welcome-email'
}).priority('high').save();
how am i going to go about it?.