Quartz definitely supports cron-like syntax (with CronTrigger ), but your requirements are not clear. Also maybe look at Jcrontab or cron4j .
As a side note, the ability to declaratively create Cron-like schedules for running EJB methods is one of the most important timer service enhancements in EJB 3.1 (using @Schedule ). The following is an example of New Features in EJB 3.1 :
@Stateless public class NewsLetterGeneratorBean implements NewsLetterGenerator { @Schedule(second="0", minute="0", hour="0", dayOfMonth="1", month="*", year="*") public void generateMonthlyNewsLetter() { ... Code to generate the monthly news letter goes here... } }
source share