org.mmbase.applications.crontab
Class MMBaseQueryJob

java.lang.Object
  extended by org.mmbase.applications.crontab.AbstractCronJob
      extended by org.mmbase.applications.crontab.MMBaseQueryJob
All Implemented Interfaces:
Runnable, CronJob

public class MMBaseQueryJob
extends AbstractCronJob

If periodicly some SQL query must be executed (e.g. database administration tasks), then the following Job can be used.

Version:
$Id: MMBaseQueryJob.java 42079 2010-05-03 09:06:58Z michiel $
Author:
Michiel Meeuwissen

Field Summary
 
Fields inherited from class org.mmbase.applications.crontab.AbstractCronJob
cronEntry
 
Constructor Summary
MMBaseQueryJob()
           
 
Method Summary
protected  void init()
          You can init by overriding this (no need to call super.init) This is called by AbstractCronJob.init(CronEntry)
 void run()
          Implement this.
 
Methods inherited from class org.mmbase.applications.crontab.AbstractCronJob
getEntry, init, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MMBaseQueryJob

public MMBaseQueryJob()
Method Detail

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 final 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