diff --git a/System/Crontab/Zookeeper.php b/System/Crontab/Zookeeper.php index af075ee5..89b50b13 100644 --- a/System/Crontab/Zookeeper.php +++ b/System/Crontab/Zookeeper.php @@ -64,7 +64,7 @@ class Zookeeper extends Process { try { $params['action'] = 'crontab'; - if (($handler = $redis->exists('crontab:' . $value)) === false) { + if (($handler = $redis->get('crontab:' . $value)) === false) { return; } $params['handler'] = swoole_unserialize($handler);