Fixed mythtv cron jobs to support new 0.22 version.
This commit is contained in:
parent
2a969508be
commit
ad4abc7a77
2 changed files with 2 additions and 2 deletions
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
export MYTHCONFDIR="/etc/mythtv"
|
export MYTHCONFDIR="/etc/mythtv"
|
||||||
export MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`"
|
export MYTHVERSION="`rpm -q --queryformat='%{VERSION}\n' mythtv-docs`"
|
||||||
perl /usr/share/doc/mythtv-docs-${MYTHVERSION}/contrib/optimize_mythdb.pl > /dev/null
|
perl /usr/share/doc/mythtv-docs-${MYTHVERSION}/contrib/maintenance/optimize_mythdb.pl > /dev/null
|
||||||
|
|
|
@ -14,7 +14,7 @@ mysql -h "${DBHostName}" -u"${DBUserName}" -p"${DBPassword}" -s \
|
||||||
"${DBName}" | egrep -q "^[1-9][0-9]*\$" || exit 0
|
"${DBName}" | egrep -q "^[1-9][0-9]*\$" || exit 0
|
||||||
|
|
||||||
# find orphans and print stats if found
|
# find orphans and print stats if found
|
||||||
perl /usr/share/doc/mythtv-docs-${MYTHVERSION}/contrib/myth.find_orphans.pl \
|
perl /usr/share/doc/mythtv-docs-${MYTHVERSION}/contrib/maintenance/myth.find_orphans.pl \
|
||||||
--dbhost="${DBHostName}" \
|
--dbhost="${DBHostName}" \
|
||||||
--database="${DBName}" \
|
--database="${DBName}" \
|
||||||
--user="${DBUserName}" \
|
--user="${DBUserName}" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue