This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
JENKINS_SERVER=${1} | |
shift | |
JOBS=$* | |
CHECK_INTERVAL=30 | |
NOTIFY_CMD= | |
# NOTIFY_CMD=/usr/bin/notify-send | |
command -v rsstail >/dev/null 2>&1 || { echo >&2 "This script requires rsstail to be installed. See http://www.vanheusden.com/rsstail"; exit 1; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Simple tea timer | |
# | |
start=$(date +%s) | |
function print_help() { | |
cat <<EOF | |
usage: $(basename $0) DRUATION |