Super Plugins

Super Plugins

Plugins can be chained together.....  A START plugin and a STOP plugin can both be called from within a RESTART plugin. The RESTART plugin becomes a plugin of plugins, also known as a super plugin. Super plugins can also have there own additional task wrappers. Example:

  GetVar -pattern "Application" -name APP
  Sleep 60
  Task "ps -ef | grep $APP"

This could be called using the following Action request template

Action : RESTART
Application: MYAPP

As the RESTART plugin collects and sets the APP variable, APP will be set and therefore exist in the STOP and START plugins.