Class MCRCommandCronJob

java.lang.Object
org.mycore.mcr.cronjob.MCRCronjob
org.mycore.mcr.cronjob.MCRCommandCronJob
All Implemented Interfaces:
Runnable

public class MCRCommandCronJob extends MCRCronjob
  • Constructor Details

    • MCRCommandCronJob

      public MCRCommandCronJob()
  • Method Details

    • getCommand

      public String getCommand()
    • setCommand

      public void setCommand(String command)
    • runJob

      public void runJob()
      Description copied from class: MCRCronjob
      Will be executed according to the Cron schedule. Remember to call MCRCronjob.getProcessable() and update its values to let the user know what you are doing.
      Specified by:
      runJob in class MCRCronjob
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class MCRCronjob
      Returns:
      A Description what this Cronjob does.