#!/bin/bash
. /etc/profile
logFile='/var/log/mythtv/myth_mtc.log'
date=`date +%Y-%m-%d`

myth_mtc.py > $logFile 2>&1
if [ $? = 0 ]
then
    echo "Finished $date" >> $logFile
else
    echo "Time Exceede $date" >> $logFile
fi
