diff options
Diffstat (limited to 'contrib/obs-mirror/rm-old-nightly-archives.sh')
-rwxr-xr-x | contrib/obs-mirror/rm-old-nightly-archives.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/obs-mirror/rm-old-nightly-archives.sh b/contrib/obs-mirror/rm-old-nightly-archives.sh index 3a5f276..e28bce1 100755 --- a/contrib/obs-mirror/rm-old-nightly-archives.sh +++ b/contrib/obs-mirror/rm-old-nightly-archives.sh @@ -1,5 +1,8 @@ #!/bin/sh -e # Remove nightly archives older than one month (OS#4862) +echo "Redirecting all output to: /home/pkgmirror/rm-old-nightly-archives.log" +exec >"/home/pkgmirror/rm-old-nightly-archives.log" 2>&1 + DRY=0 # Get removal date in seconds since epoch and display it |