#!/usr/bin/env ruby while true sleep 5 `echo "slept #{Process.pid}" | logger -t cmd` end