diff options
Diffstat (limited to 'bin/maintainance.sh')
-rwxr-xr-x | bin/maintainance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/maintainance.sh b/bin/maintainance.sh index e5d5f18c..16e144f9 100755 --- a/bin/maintainance.sh +++ b/bin/maintainance.sh @@ -42,7 +42,7 @@ remove_old_rebootstrap_logs() { echo "Old html logs have been deleted:" echo "$OLDSTUFF" fi - COMPRESSED=$(find /var/lib/jenkins/jobs/rebootstrap_* -maxdepth 3 -mindepth 3 -mtime +1 -name log -exec gzip -9 -v {} \;) + COMPRESSED=$(find /var/lib/jenkins/jobs/rebootstrap_* -maxdepth 3 -mindepth 3 -mtime +1 -name log -exec pigz -9 -v {} \;) if [ ! -z "$COMPRESSED" ] ; then echo "Logs have been compressed:" echo "$COMPRESSED" |