Quartz Scheduler Example Programs and Sample Code : Quartz Code Snippets : How-To: Create a Trigger that Executes Every Ten Seconds
How-To: Create a Trigger that Executes Every Ten Seconds
Using SimpleTrigger
trigger = newTrigger()
.withIdentity("trigger3", "group1")
.startNow()
.withSchedule(simpleSchedule()
.withIntervalInSeconds(10)
.repeatForever())
.build();
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback