{"library":"mongodb-cron","type":"library","category":null,"description":"MongoDB collection as a crontab / job queue. Current stable version is 1.9.0, released under ISC license, actively maintained. It uses the official MongoDB Node.js driver (v6) and atomic MongoDB commands to ensure safe job processing in clustered environments. Key differentiator: simple document-based scheduling using a `sleepUntil` field, with built-in lock and retry mechanisms. TypeScript types included. Note: not to be confused with Agenda or similar libraries.","language":"javascript","status":"active","version":"1.9.0","tags":["javascript","mongo","mongodb","database","nosql","cron","schedule","scheduling","queue","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-cron","imports":["import { MongoCron } from 'mongodb-cron'","const { MongoCron } = require('mongodb-cron')","import type { Options } from 'mongodb-cron'"]},{"cmd":"yarn add mongodb-cron","imports":[]},{"cmd":"pnpm add mongodb-cron","imports":[]}],"homepage":"https://github.com/xpepermint/mongodb-cron#readme","github":"https://github.com/xpepermint/mongodb-cron","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-cron","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}