modify
This commit is contained in:
@@ -183,7 +183,7 @@ abstract class Crontab extends BaseObject
|
|||||||
private function recover()
|
private function recover()
|
||||||
{
|
{
|
||||||
$redis = Snowflake::app()->getRedis();
|
$redis = Snowflake::app()->getRedis();
|
||||||
if (!$redis->exists('stop:crontab:' . $this->getName())) {
|
if ($redis->exists('stop:crontab:' . $this->getName())) {
|
||||||
$redis->del('crontab:' . $this->getName());
|
$redis->del('crontab:' . $this->getName());
|
||||||
$redis->del('stop:crontab:' . $this->getName());
|
$redis->del('stop:crontab:' . $this->getName());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user