public function remove($class, $method)
    {
        $callback = $class . '::' . $method;
        if (isset($this->configs['instances'][$callback])) {
            unset($this->configs['instances'][$callback], $this->configs['log'][$callback]);
            App::$Properties->writeConfig('Cron', $this->configs);
        }
    }
public function remove($class, $method)
    {
        $callback = $class . '::' . $method;
        if (isset($this->configs['instances'][$callback])) {
            unset($this->configs['instances'][$callback], $this->configs['log'][$callback]);
            App::$Properties->writeConfig('Cron', $this->configs);
        }
    }
public function remove ( $ class , $ method ) { $ callback = $ class . '::' . $ method ; if ( isset ( $ this -> configs [ 'instances' ] [ $ callback ] ) ) { unset ( $ this -> configs [ 'instances' ] [ $ callback ] , $ this -> configs [ 'log' ] [ $ callback ] ) ; App :: $ Properties -> writeConfig ( 'Cron' , $ this -> configs ) ; } }
Remove registered cron task from configs
@param string $class
@param string $method
Remove registered cron task from configs