JavaBean that describes a scheduled TimerTask, consisting of
the TimerTask itself (or a Runnable to create a TimerTask for)
and a delay plus period. Period needs to be specified;
there is no point in a default for it.
The JDK Timer does not offer more sophisticated scheduling
options such as cron expressions. Consider using Quartz for
such advanced needs.
Note that Timer uses a TimerTask instance that is shared
between repeated executions, in contrast to Quartz which
instantiates a new Job for each execution.
The JDK Timer does not offer more sophisticated scheduling options such as cron expressions. Consider using Quartz for such advanced needs.
Note that Timer uses a TimerTask instance that is shared between repeated executions, in contrast to Quartz which instantiates a new Job for each execution.