org.mmbase.applications.crontab
Class TestCronJob
java.lang.Object
org.mmbase.applications.crontab.AbstractCronJob
org.mmbase.applications.crontab.TestCronJob
- All Implemented Interfaces:
- Runnable, CronJob
public class TestCronJob
- extends AbstractCronJob
- implements CronJob
A test cron-job. Aquires a Cloud object, and sleeps vor 130 seconds (if you e.g. schedule it
every minute, you test overlapping jobs: the job should not be restarted if still running)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
Map<String,String> properties
TestCronJob
public TestCronJob()
init
protected void init()
- Description copied from class:
AbstractCronJob
- You can init by overriding this (no need to call super.init)
This is called by
AbstractCronJob.init(CronEntry)
- Overrides:
init in class AbstractCronJob
run
public void run()
- Description copied from class:
AbstractCronJob
- Implement this.
- Specified by:
run in interface Runnable- Specified by:
run in interface CronJob- Specified by:
run in class AbstractCronJob
MMBase 2.0-SNAPSHOT - null