Cron to human readable string

Savvas Dalkitsis picture Savvas Dalkitsis · Aug 5, 2009 · Viewed 30.3k times · Source

I am using Quartz with Java to schedule jobs. One thing is that i store cron expressions on a database and i would like to present them to a user but in a more readable form. So i was wondering if there is a utility that could convert a cron expression into a human readable string. Something like :

""0 30 10-13 ? * WED,FRI" will become "Fires at 10:30, 11:30, 12:30, and 13:30, on every Wednesday and Friday."

Answer

user452425 picture user452425 · Mar 6, 2014

A Java library that converts cron expressions into human readable strings: https://github.com/RedHogs/cron-parser