I am developing an application that gives the user the ability to schedule some activity. Inputs that are provided by user are
- Value of N
- Option amongst Hour/Day/Week/Month
- Start Date
- Start Time
I am unable to get the cron expressions right for each of the repeat interval type i.e. Hour/Day/Week/Month so that the trigger time is calculated from the start date.
I think is a good start of how to configure triggers:
http://www.opensymphony.com/quartz/wikidocs/CronTriggers%20Tutorial.html