~nova/benchwarmer

0f28d713f1db363f2a3e5b9096f7ee91bf33eb47 — Nova Devereaux 5 months ago 1534ea3
Start STOPPED ws's as well
1 files changed, 1 insertions(+), 1 deletions(-)

M build.sh
M build.sh => build.sh +1 -1
@@ 11,7 11,7 @@ function upcominghour() {
}
UPCOMING_HOUR=`upcominghour`
function awswormworkspace() {
	aws workspaces start-workspaces --start-workspace-requests WorkspaceId=$( aws workspaces describe-workspaces | jq '.Workspaces[] | select(.UserName=="'$AWS_WS_NAME'") | select(.State=="Available") | .WorkspaceId' -r )
	aws workspaces start-workspaces --start-workspace-requests WorkspaceId=$( aws workspaces describe-workspaces | jq '.Workspaces[] | select(.UserName=="'$AWS_WS_NAME'") | select(.State=="Available" or .State=="STOPPED") | .WorkspaceId' -r )
}

curl -so calendar.ics $CALENDAR_URI