diff options
Diffstat (limited to 'abs/core/LinHES-system/myth_mtc.sh')
-rwxr-xr-x | abs/core/LinHES-system/myth_mtc.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/LinHES-system/myth_mtc.sh b/abs/core/LinHES-system/myth_mtc.sh index 12486c4..7899daa 100755 --- a/abs/core/LinHES-system/myth_mtc.sh +++ b/abs/core/LinHES-system/myth_mtc.sh @@ -1,7 +1,9 @@ #!/bin/bash +MYTH_RUN_STATUS=1 . /etc/profile -logFile='/var/log/mythtv/myth_mtc.log' + date=`date +%Y-%m-%d` +logFile="/var/log/$date/myth_mtc.log" MYTHCONFDIR=/usr/share/mythtv myth_mtc.py > $logFile 2>&1 if [ $? = 0 ] |