diff --git a/System/Process/CrontabProcess.php b/System/Process/CrontabProcess.php index 88389fac..cab9bb50 100644 --- a/System/Process/CrontabProcess.php +++ b/System/Process/CrontabProcess.php @@ -116,7 +116,7 @@ class CrontabProcess extends Process $content = unserialize($content); $name = $content->getName(); - if (isset($this->names)) { + if (isset($this->names[$name])) { Timer::clear($this->names[$name]); } $callback = function () use ($content) {