#!/bin/bash

while sleep 2
do 
  date > /usr/local/heartbeat.txt
done
