From 6706f6fc473f948b156fab86f9526e9404c1e611 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 28 Jul 2023 20:15:19 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 20465929..0f3883dc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -479,7 +479,7 @@ VCENTER-SSL(){ } ADD_LOGROTATE_CRONTAB(){ if ! crontab -l | grep -q "${NM_FOLDER}/tmp-logrotate"; then - (crontab -l ; echo "0 */1 * * * logrotate -f ${NM_FOLDER}/tmp-logrotate")| crontab - + (crontab -l ; echo "0 */1 * * * logrotate -f ${NM_FOLDER}/tmp-logrotate") >/dev/null 2>&1 | crontab - fi /bin/chmod 0644 ${NM_FOLDER}/tmp-logrotate echo