From 3d6990012bb0af2a14b6e3e2445531e91d8e0c54 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Nov 18 2011 23:54:26 +0000 Subject: use cycle instead of start, just in case cron is already running --- diff --git a/tests/p_cron/0-install_cron.sh b/tests/p_cron/0-install_cron.sh index d66447d..be329b6 100755 --- a/tests/p_cron/0-install_cron.sh +++ b/tests/p_cron/0-install_cron.sh @@ -4,10 +4,10 @@ t_Log "$0 - Installing crond" if (t_GetPkgRel basesystem | grep -q el6) then - t_InstallPackage cronie - service crond start + pn="cronie" else - t_InstallPackage vixie-cron - service crond start + pn="vixie-cron" fi +t_InstallPackage cronie +service crond cycle