Remove cron job

@param string $key = NULL
502941
public function remove($key = NULL)
    {
        $this->executeRemoveCommand();

        if( $key === NULL )
        {
            unlink($this->crontabCommands);
        }
        else
        {
            $this->removeJobFromExecFile($key);

            $this->executeCommand();
        }
    }
402641
public function delete($key)
    {
        $keys = explode('.', $key);
        $key_string = '';
        foreach ($keys as $i => $_key) {
            $key_string = $key_string . ((is_numeric($_key) || $_key === '') ? "[{$_key}]" : "['{$_key}']");
        }
        $script = sprintf('unset($this->_params%s);', $key_string);
        eval($script);
    }
840102
public function release($key)
    {
        if (isset($this->resources[$key])) {
            $fd = $this->resources[$key];
            unset($this->resources[$key]);
            @flock($fd, LOCK_UN);
            @fclose($fd);
            try {
                @unlink($this->getFilenameForMutexKey($key));
            } catch (Exception $x) {
            }
        }
    }
379814
public function remove($key)
    {
        if ($this->resumable() && $this->started()) {
            $unset = &$_SESSION;
            foreach (func_get_args() as $key) {
                $names = $this->explode($key);
                while (count($names) > 1) {
                    $name = array_shift($names);
                    if (isset($_SESSION[$name]) && is_array($_SESSION[$name])) {
                        $_SESSION = &$_SESSION[$name];
                    }
                }
                unset($_SESSION[array_shift($names)]);
                $_SESSION = &$unset; // clean up after each pass
            }
        }
    }
713649
protected function removeKeyFromJsonData($key, &$getJsonData)
    {
        $this->crontab->remove((int) ltrim($key, 'ID'));

        if( isset($getJsonData[$key]) )
        {
            unset($getJsonData[$key]);
        }
    }
1371351
public function remove($key)
    {
        if (isset($_SESSION[$this->name][$key])) {
            $value = $_SESSION[$this->name][$key];
            unset($_SESSION[$this->name][$key]);
            return $value;
        }

        return null;
    }
725615
public function cleanUpdate($key = '')
	{
		// No key means you want to clean em all.
		if (empty($key))
			unset($_SESSION[$this->_app->name]['update']);

		else
			unset($_SESSION[$this->_app->name]['update'][$key]);
	}
1122041
public function remove(string $key)
    {
        if (isset($this->headers[$key])) {
            unset($this->headers[$key]);
        }

        return $this;
    }
669096
public function destroy(string $key): void
    {
        $key = $this->getKey($key);

        cache()->forget($key);
    }
24818
public function remove(string $key): void
    {
        $key = $this->prepareKey($key);
        $this->properties = Arr::remove($this->properties, $key);
    }
810397
public function remove($key = null)
    {
        if ($this->resumeSession()) {
            if ($key) {
                if (isset($_SESSION[$this->name]) && \array_key_exists($key, $_SESSION[$this->name])) {
                    unset($_SESSION[$this->name][$key]);
                }
            } else {
                unset($_SESSION[$this->name]);
            }
        }
    }
1166543
public function purge($key) {
		
		if ($this->useFallback) {
			if ($this->log) {
				$this->log->trace("Purging key '$key' from file cache.");
			}
			$filename = $this->getFileName($key);
			unlink($filename);
			return;
		}
	
		if ($this->log) {
			$this->log->trace("Purging key '$key' from APC cache.");
		}
	
		apc_delete($key);
	}
54630
public function remove($key)
    {
        unset($this->_definitions[$key], $this->_singletons[$key]);
        foreach ($this->_aliases as $alias => $akey) {
        	if ($akey === $key) {
        		unset($this->_aliases[$alias]); 
        		break;
        	}
        }
    }
337869
public function forget($key = null)
    {
        if (!session_id()) {
            $this->initializeSession(false);
        }

        if (is_null($key)) {
            unset($_SESSION['o'][$this->name]);
            unset($_SESSION['s'][$this->name]);
        } else {
            unset($_SESSION['o'][$this->name][$key]);
            unset($_SESSION['s'][$this->name][$key]);
        }

        return $this;
    }
1307480
public function release($key)
    {
        $key = (string) $key;
        if (isset($this->semaphores[$key])) {
            $sem = $this->semaphores[$key];
            unset($this->semaphores[$key]);
            if (is_resource($sem)) {
                @sem_release($sem);
            }
            $filename = $this->getFilenameForMutexKey($key);
            if (is_file($filename)) {
                @unlink($filename);
            }
        }
    }
1312252
public static function remove($key)
		{
			self::_cleanPrevious();

			if(self::is($key))
			{
				unset($_SESSION[self::$_sessionKey.$key]);
				return true;
			}
			else
			{
				return false;
			}
		}
601996
public function pull($key)
    {
        if (!$this->containsKey($key)) {
            return null;
        }
        $removed = $this->items[$key];
        unset($this->items[$key]);

        return $removed;
    }