#!/bin/bash while sleep 0.1; do echo starting kiosk-hangup-sensor | mail -s 'starting kiosk-hangup-sensor' admin@ut.mephi.ru kiosk-hangup-sensor done