Skip to content

vponomarev279/cron-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cron Parser

A command-line application that parses and expands standard cron expressions to display the times each field will run. Built without external cron libraries to demonstrate core parsing and handling.

Getting Started

Prerequisites

Make sure you have Node.js version 18 or higher installed on your machine. You can download it here.

Installation

Install the dependencies:

npm install

Running

Pass a cron string as an argument:

npm start -- "*/15 0 1,15 * 1-5 /usr/bin/find"

Testing

Run tests

Run tests in watch mode (recommended)

npm run test:watch

or run with debugger in VS Code (no need to setup)

or run and exit

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published