I want to free up the tv tuners when not in use, one way is to reboot every night.
Open a terminal window and login into Kodi
Check if cron is installed:
$ which cron
/usr/bin/cron
If not installed, then install cron
$ sudo apt-get install cron
Then edit the crontab
$ sudo crontab -e
and add
# restart everyday at 2am
0 2 * * * sudo reboot
CTRL-o, ENTER, CTRL-x to save and exit the editor
and then restart the service
$ sudo service cron restart