Fixed mythtv cron jobs to support new 0.22 version.

This commit is contained in:
Timo Mkinen 2009-10-21 07:55:03 +03:00
parent 2a969508be
commit ad4abc7a77
2 changed files with 2 additions and 2 deletions

View file

@ -2,4 +2,4 @@
export MYTHCONFDIR="/etc/mythtv"
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

View file

@ -14,7 +14,7 @@ mysql -h "${DBHostName}" -u"${DBUserName}" -p"${DBPassword}" -s \
"${DBName}" | egrep -q "^[1-9][0-9]*\$" || exit 0
# 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}" \
--database="${DBName}" \
--user="${DBUserName}" \