- San Diego, CA
Highlights
- Pro
Pinned Loading
-
Bash script that stops an ec2 instan...
Bash script that stops an ec2 instance after 12 consecutive invocations without established ssh connection or screens 1#!/bin/bash
23# This script will check for the absence of any logged in user for 12 consecutive
4# invocations. If the no user has logged in for 12 consecutive invocations then
5# the EC2 instance will stop or hibernate depending on its configuration
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.