From aca34a789c5eeb0c90edde49311add4c4c0b95ce Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Mon, 27 Nov 2023 14:39:47 +0100 Subject: [PATCH] Fixed crontab cleanup --- deploy_dqmgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy_dqmgui.sh b/deploy_dqmgui.sh index b5c8a35..16d461d 100755 --- a/deploy_dqmgui.sh +++ b/deploy_dqmgui.sh @@ -122,7 +122,7 @@ check_dependencies() { clean_crontab() { # Filter cronjobs starting in $INSTALLATION_DIR/current/dqmgui and # replace crontabs - crontab -l 2>/dev/null | grep -v "$INSTALLATION_DIR/current/dqmgui" | crontab - + crontab -l 2>/dev/null | grep -v "$INSTALLATION_DIR/current/config/dqmgui" | crontab - } # Install DQMGUI cronjobs