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;;
|
help;;
|
||||||
esac
|
esac
|
||||||
#If cleaning was forced and no repository specified, clean all repositories
|
#If cleaning was forced, or if it's the first of this month - clean.
|
||||||
elif [[ -n $CLEAN ]] || [[ $(date +%a) == "Friday" ]]; then
|
elif [[ -n $CLEAN ]] || [[ $(date +%d) == "1" ]]; then
|
||||||
clean Gerbil-TK
|
clean Gerbil-TK
|
||||||
clean Pukeko-XYZ-Containers
|
clean Pukeko-XYZ-Containers
|
||||||
clean Pukeko-XYZ-Cloud
|
clean Pukeko-XYZ-Cloud
|
||||||
|
|||||||
Reference in New Issue
Block a user