How to convert CRON string to ScheduleExpression in Java?
问题 I got this problem: I have a text field, There should be a CRON expression written, and later on saved. Now I need a method to convert the CRON string (here are some random examples: http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html) to java ScheduleExpression (http://docs.oracle.com/javaee/6/api/javax/ejb/ScheduleExpression.html) But, I have no idea how to do it... I have a timer based execution system, that run only on days, weeks and months, but now I need