收录日期:2019/08/18 17:22:43 时间:2010-06-16 02:50:20 标签:javascript,jquery,cron,widget

Does anyone know of a good Job scheduler UI widget?

The ideal component would be a Javascript widget (hopefully JQuery) that allows a user to select a frequency which is converted to a cron expression.

Anything good out there?

jquery-cron is a jQuery plugin for presenting a more intuitive interface for users to specify frequency, and converting that into a cron value.

Compulsory disclosure: I am the author of the plugin. I had a similar requirement recently and could not find anything suitable so I wrote my own and published it on github.

Disclaimer: I have limited web dev experience and dare not make bold claims about the plugin's fit for purpose. The only assurance I can give is that it has been used in at least one project without any problems (yet). Feedback / pull requests welcome.

A couple of alternatives:

I found this one is very good and well suited if you are using Quartz Scheduler in the back-end.

https://github.com/hsal/cronGen

Just that, Downloaded source have small issue in Demo.html and DemoBS3.html. You have to correct the CronGen.js to cronGen.js.

You can match trigger expression generated by this(cronGen.js) widget and cronmaker(http://www.cronmaker.com/) Works well for Quartz scheduler

All I can find is this flex component http://www.novio.be/blog/?p=902.

I also created a simple cron builder in jquery + jquery widgets:

Example: http://bradsdavis.com/wp-content/uploads/jquery-cronbuilder/

Github: https://github.com/bradsdavis/jquery-cronbuilder

Another alternative is:

https://github.com/onterumahendra/CronScheduler/

It is well suited if you are using Quartz Scheduler in the back-end. It generates the CRON expressions and populate the CRON expressions in UI as well.

One more alternative: Crontab js generator

Simple and clean, only javascript, without any frameworks, size - 7kb