\FireGento_MageMonitoring_Model_WatchDog
interface FireGento_MageMonitoring_Model_WatchDog
- Author: FireGento Team <team@firegento.com>
Synopsis
interface FireGento_MageMonitoring_Model_WatchDog
{
- // methods
- public string getDogId()
- public string getDogName()
- public bool onDuty()
- public false|string getSchedule()
- public false|array watch()
Methods
public
- getDogId() — Returns id string, use classname to avoid possible conflicts.
- getDogName() — Returns watch dog name.
- getSchedule() — Returns string in standard cron format or false.
- onDuty() — Returns true if this watch dog is active.
- watch() — Method that executes if getSchedule() says it's time.