From daac6164bacbc6f17baa5177b93c394d530bef9c Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Tue, 22 Dec 2015 14:41:30 +0530 Subject: [PATCH] fix typo --- ee/cli/plugins/stack.py | 2 +- ee/core/cron.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 6564fd9f..a474c6a7 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -339,7 +339,7 @@ class EEStackController(CementBaseController): ee_nginx.close() # Nginx-Plus does not have nginx package structure like this - # So craeting directories + # So creating directories if set(["nginx-plus"]).issubset(set(apt_packages)): Log.info(self, "Installing EasyEngine Configurations for" "NGINX PLUS") diff --git a/ee/core/cron.py b/ee/core/cron.py index 79df5d06..9c419a1f 100644 --- a/ee/core/cron.py +++ b/ee/core/cron.py @@ -8,7 +8,6 @@ Set CRON on LINUX system. class EECron(): def setcron_daily(self,cmd,comment='Cron set by EasyEngine',user='root',min=0,hour=12): if not EEShellExec.cmd_exec(self, "crontab -l | grep -q \'{0}\'".format(cmd)): - #0 12 * * * ee site update phpbreddddcamp.net --le=renew --min_expiry_limit 30 2> /dev/null # Renew letsencrypt SSL cert. Set by EasyEngine EEShellExec.cmd_exec(self, "/bin/bash -c \"crontab -l " "2> /dev/null | {{ cat; echo -e" @@ -23,7 +22,6 @@ class EECron(): def remove_cron(self,cmd): if EEShellExec.cmd_exec(self, "crontab -l | grep -q \'{0}\'".format(cmd)): - #root@e:~# crontab -l | sed '/ee site update example.com --le/d' | crontab - if not EEShellExec.cmd_exec(self, "/bin/bash -c " "\"crontab " "-l | sed '/{0}/d'"