Sha256: f8bed6f25793e38061cfd595addc9e7ba012057022f9a30e6ca4809045e93b5e

Contents?: true

Size: 262 Bytes

Versions: 6

Compression:

Stored size: 262 Bytes

Contents

#!/bin/bash

if [ $# -eq 0 ]; then
  command=$(basename "$0")
  echo "Usage: $command WHEN"
  echo "Examples:"
  echo "  $command now"
  echo "  $command later"
  exit 1
fi
WHEN=$1 # now or later

source /opt/forger/auto_terminate/functions.sh
terminate "$WHEN"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forger-3.0.2 lib/forger/scripts/auto_terminate.sh
forger-3.0.1 lib/forger/scripts/auto_terminate.sh
forger-3.0.0 lib/forger/scripts/auto_terminate.sh
forger-2.0.5 lib/forger/scripts/auto_terminate.sh
forger-2.0.4 lib/forger/scripts/auto_terminate.sh
forger-2.0.3 lib/forger/scripts/auto_terminate.sh