src/Cron.php
function del(string $name) {
        if (!isset($this->_tasks[$name])) {
            Console::warning("Cron task \"$name\" do not exist.");
            return;
        }
        unset($this->_tasks[$name]);
    }
function del(string $name) {
        if (!isset($this->_tasks[$name])) {
            Console::warning("Cron task \"$name\" do not exist.");
            return;
        }
        unset($this->_tasks[$name]);
    }
删除计划任务

@param string $name