Clean on the first of each month instead of every friday
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user