summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/myth_mtc.sh
blob: 12486c4846621ec9c7ceccf4935cdc438dc67d0f (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`

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