public interface CronJob extends Runnable
| Modifier and Type | Method and Description |
|---|---|
CronEntry |
getEntry() |
void |
init(CronEntry cronEntry)
If the CronJobs needs some initializing before the first run, then that can be put in this.
|
void |
run()
This is the method which is repeatedly called.
|
void |
stop()
If after the last run of the job, there need to be shutdown things, then that can be done here.
|
void init(CronEntry cronEntry)
void stop()
void run()
CronEntry getEntry()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}