exports.task = {
name: 'broadcast',
description: 'broadcast',
frequency: 5000,
queue: 'default',
plugins: [],
pluginOptions: {},
run: function(api, params, next){
var error = null;
api.log('trying to blow kisses from a task');
next;
}
config.tasks = {// Should this node run a scheduler to promote delayed tasks?scheduler: false,// what queues should the workers work and how many to spawn?// ['*'] is one worker working the * queue// ['high,low'] is one worker working 2 queuesqueues: ['default'],// how long to sleep between jobs / scheduler checkstimeout: 250,// What redis server should we connect to for tasks / delayed jobs?redis: config.redis}