Dinesh Dinesh - 5 months ago 218
Javascript Question

JavaScript API that converts cron expressions into human readable strings

I used below Javascript API to create Quartz compatible UI to provide cron expression to server side quartz sevices.


Do we have any API , which we can use to convert cron expressions into human readable strings in Java Script.



I recently ported the Quartz compatible cron-expression-descriptor from C# to JavaScript and named it cRonstrue. This JavaScript library is able to convert a Quartz cron expression into a human readable string like this:

cronstrue.toString("0 23 ? * MON-FRI");
> "At 11:00 PM, Monday through Friday"