Skip to content


Cron job example of optimize_mythdb.pl

#!/bin/sh
# Optimize the database
OPT_MYTHDB=’/usr/share/doc/mythtv-docs-0.21/contrib/optimize_mythdb.pl’
LOG=’/var/log/mythtv/optimize_mythdb.log’
echo “Started ${OPT_MYTHDB} on `date`” >> ${LOG}
${OPT_MYTHDB} >> ${LOG}
echo “Finished ${OPT_MYTHDB} on `date`” >> ${LOG}

Posted in Mythtv.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.