sails-hook-agenda
Agenda jobs in Sails.js application
Configure
Basic configuration:
/** * Connection config * * All avaialble configs form might be used here */connection: /** * Database configuration */ db: /** * Database address * @type */ address: 'localhost:27017/agenda-jobs' /** * Collection name * * @type */ collection: 'agendaJobs' /** * Takes a string name and sets lastModifiedBy to it in the job database. * Useful for if you have multiple job processors (agendas) and want to see which job queue last ran the job. * * @type */ name: 'sails-queue'
Testing
To run tests you have to run mongod on your local PC.
Run tests command: npm test
License
MIT