{"library":"cron","type":"library","category":null,"description":"The `cron` library for Node.js provides a robust solution for scheduling tasks (functions or external commands) using the familiar cron syntax, with support for second-level precision. The current stable version is 4.4.0, demonstrating active development with regular patch and minor releases, alongside beta releases for upcoming major versions like v5. Key differentiators include its flexibility in defining schedules using cron strings, standard JavaScript `Date` objects, or `Luxon DateTime` objects, comprehensive TypeScript support, and features for managing job lifecycle (start, stop, handling unexpected termination). It is designed for long-running Node.js applications and has evolved through major versions, introducing stricter cron pattern adherence and API refinements.","language":"javascript","status":"active","version":"4.4.0","tags":["javascript","cron","node cron","node-cron","schedule","scheduler","cronjob","cron job","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install cron","imports":["import { CronJob } from 'cron';","import { CronTime } from 'cron';","import type { CronJobParameters } from 'cron';"]},{"cmd":"yarn add cron","imports":[]},{"cmd":"pnpm add cron","imports":[]}],"homepage":"https://cron-job.org","github":"https://github.com/kelektiv/node-cron","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/cron","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/cron/compatibility"}}