#!/bin/sh while true do ./port_monitor.py 5120 5140 echo Crash at `date` sleep 120 done