#!/bin/bash WAITFOR=1800 # 30min for i in {1..60}; do timeout $WAITFOR bash <