Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Human-readable cron expressions #15

Open
mausch opened this issue Jan 11, 2012 · 7 comments
Open

Human-readable cron expressions #15

mausch opened this issue Jan 11, 2012 · 7 comments

Comments

@mausch
Copy link
Owner

mausch commented Jan 11, 2012

Show a human-readable rendering of cron expressions.

See Quartz.CronExpression

@dsoltesz
Copy link

dsoltesz commented May 9, 2013

project out there that does this already that you might be able to leverage

http://www.geekytidbits.com/cron-expression-descriptor-demo/

@mausch
Copy link
Owner Author

mausch commented May 9, 2013

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

@dsoltesz
Copy link

dsoltesz commented May 9, 2013

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;

@mausch
Copy link
Owner Author

mausch commented May 13, 2013

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.

@dsoltesz
Copy link

Yeah, would make this tool a lot more powerful

@mausch
Copy link
Owner Author

mausch commented May 14, 2013

Looking forward to your pull request ;-)

@mausch
Copy link
Owner Author

mausch commented Jan 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants