Open mausch opened 12 years ago
project out there that does this already that you might be able to leverage
http://www.geekytidbits.com/cron-expression-descriptor-demo/
Looks good! IIRC there's something like this already embedded in Quartz in the CronExpression class. If you're interested, would you take a look? Cheers
In Quartz there is a way that helps you get the actual Cron Expression string but not into human readable text that I'm aware of.
CronScheduleBuilder csb = CronScheduleBuilder .WeeklyOnDayAndHourAndMinute(DayOfWeek.Monday, 12, 0);
ICronTrigger trigger = (ICronTrigger)TriggerBuilder .Create() .WithSchedule(csb) .Build();
string cronExpression = trigger.CronExpressionString;
CronExpression.GetExpressionSummary() does this, but it's nowhere near as pretty as the library you mention. We should merge that library, including of course its license text and a link to its home page.
Yeah, would make this tool a lot more powerful
Looking forward to your pull request ;-)
Show a human-readable rendering of cron expressions.
See Quartz.CronExpression