org.mmbase.applications.crontab
Class TestCronJob
java.lang.Object
org.mmbase.applications.crontab.AbstractCronJob
org.mmbase.applications.crontab.TestCronJob
- All Implemented Interfaces:
- CronJob, Runnable
- 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)
|
Method Summary |
void |
run()
Implement this.
This is the method which is repeatedly called. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mmbase.applications.crontab.CronJob |
init, stop |
TestCronJob
public TestCronJob()
run
public void run()
- Description copied from interface:
CronJob
-
This is the method which is repeatedly called.
- Specified by:
run in interface CronJob- Specified by:
run in class AbstractCronJob
MMBase build 1.8.1.20060716