From d3ac0f95ec398ab1ca44064738fa05de2199fc77 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Mon, 20 Apr 2015 19:12:52 +0530 Subject: [PATCH] added msgs as per review --- ee/cli/plugins/debug.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ee/cli/plugins/debug.py b/ee/cli/plugins/debug.py index 217f12ce..ffdaa604 100644 --- a/ee/cli/plugins/debug.py +++ b/ee/cli/plugins/debug.py @@ -494,6 +494,8 @@ class EEDebugController(CementBaseController): if not EEShellExec.cmd_exec(self, "crontab -l | grep " "'ee debug --import-slow-log'"): if not cron_time == 0: + Log.info(self, "setting up crontab entry," + " please wait ...") EEShellExec.cmd_exec(self, "/bin/bash -c \"crontab -l " "2> /dev/null | {{ cat; echo -e" " \\\"#EasyEngine start MySQL " @@ -505,6 +507,8 @@ class EEDebugController(CementBaseController): .format(cron_time)) else: if not cron_time == 0: + Log.info(self, "updating crontab entry," + " please wait ...") if not EEShellExec.cmd_exec(self, "/bin/bash -c " "\"crontab " "-l | sed '/EasyEngine " @@ -518,6 +522,8 @@ class EEDebugController(CementBaseController): .format(cron_time)): Log.error(self, "failed to update crontab entry") else: + Log.info(self, "removing crontab entry," + " please wait ...") if not EEShellExec.cmd_exec(self, "/bin/bash -c " "\"crontab " "-l | sed '/EasyEngine "