From ed6614c4b1a897686fb7a046459119f1c4d8448e Mon Sep 17 00:00:00 2001 From: Matan Horovitz Date: Fri, 18 Nov 2022 13:23:13 +0200 Subject: [PATCH] Clean on the first of each month instead of every friday --- Kumonoboru | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kumonoboru b/Kumonoboru index 0a4d529..b95c42a 100755 --- a/Kumonoboru +++ b/Kumonoboru @@ -178,8 +178,8 @@ elif [[ -n $REPOSITORY ]] && [[ -n $CLEAN ]]; then (*) help;; esac -#If cleaning was forced and no repository specified, clean all repositories -elif [[ -n $CLEAN ]] || [[ $(date +%a) == "Friday" ]]; then +#If cleaning was forced, or if it's the first of this month - clean. +elif [[ -n $CLEAN ]] || [[ $(date +%d) == "1" ]]; then clean Gerbil-TK clean Pukeko-XYZ-Containers clean Pukeko-XYZ-Cloud