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
import boto.ec2 | |
import sys | |
import datetime | |
from time import gmtime, strftime, sleep | |
import toml | |
# expects ec2 instance tag: power-off | |
# values should be in 24hr clock from:to | |
# eg 2400:0400 | |
# would result in midnight to 4am |
OlderNewer