summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/myth_mtc.sh
blob: 487513bbdb7c3601da3fbb1a73b6af22f70d02c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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