diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-20 23:38:13 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-20 23:38:13 +0100 |
commit | 9d3e317aad73843d822e12c60d498e6a07a61b10 (patch) | |
tree | bae43928bc7479be69bcbf70519b50d568315487 | |
parent | 78527f4218e1adcf6751ed5894d3dad0c18c7b1f (diff) | |
download | jenkins.debian.net-9d3e317aad73843d822e12c60d498e6a07a61b10.tar.xz |
reproducible: schedule on the full hour so we can recognize manual scheduled once easily
-rwxr-xr-x | bin/reproducible_common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 0737c729..a339eddc 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -80,7 +80,7 @@ schedule_packages() { # the current date is subtracted twice, so that later manual scheduling comes first DAYS=$(echo "$(date +'%j')*2"|bc) HOURS=$(echo "$(date +'%H')*2"|bc) - MINS=$(echo "$(date +'%M')*2"|bc) + MINS=$(date +'%M') # schedule on the full hour so we can recognize them easily DATE=$(date +'%Y-%m-%d %H:%M' -d "$DAYS day ago - $HOURS hours - $MINS minutes") TMPFILE=$(mktemp) ARTIFACTS=$1 |