Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Agenda = require('agenda');
- const connectionString = 'mongodb://127.0.0.1/our-app-db';
- const agenda = new Agenda({
- db: {address: connectionString, collection: 'ourScheduleCollectionName'},
- processEvery: '30 seconds'
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement