org.mmbase.applications.crontab
Class TestCronJob

java.lang.Object
  extended byorg.mmbase.applications.crontab.AbstractCronJob
      extended byorg.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)


Field Summary
 
Fields inherited from class org.mmbase.applications.crontab.AbstractCronJob
cronEntry
 
Constructor Summary
TestCronJob()
           
 
Method Summary
 void run()
          Implement this. This is the method which is repeatedly called.
 
Methods inherited from class org.mmbase.applications.crontab.AbstractCronJob
init, init, stop
 
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
 

Constructor Detail

TestCronJob

public TestCronJob()
Method Detail

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