I am using springs task scheduler(ConcurrentTaskScheduler) to schedule my tasks. I am using the API
public ScheduledFuture schedule(Runnable task,Trigger trigger)
to execute my tasks.The trigger I am using is the CronTrigger.
I am initializing the trigger using the following statement
Trigger trigger = new CronTrigger(cronExp);
I need to write a cronExp in such a way that it starts at a specific date and executes daily from then on.
I checked out the API for ConcurrentTaskScheduler but I could find appropriate API to achieve/I might have missed some API.
Can anyone suggest me a way to achieve the above requirement?