I’ve managed to solve issues of my MPD freezing and losing my NAS mount by running a crontab script every day. However it doesn’t appear that the update (i.e. update the MPD database) is working. So perhaps the restart isn’t working either.
Around 6am I want to: Restart Volumio, restart MPD after reboot, mount my NAS, update MPD database. This is what I’m doing so far:
10 6 * * * /sbin/shutdown -r now 25 6 * * * /etc/init.d/mpd restart 30 6 * * * mount.cifs //192.168.0.180/public/Music /mnt/NAS —verbose -o user=user,password=password,rw,iocharset=utf8,sec=ntlm 32 6 * * * /etc/init.d/mpd update
Do I need to change something?