Schedule restart of kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Schedule restart of kodi (/showthread.php?tid=314635) |
Schedule restart of kodi - Gobberwart - 2017-05-20 I would like kodi to restart daily at 5am, to make sure it reloads anything that has changed overnight (eg iptv playlist). I do not want to restart the computer because there may be other things running on it that I don't want interrupted. I'm considering making a powershell script and running it as a scheduled task but I'm sure someone must have done this and hoping there is a simpler way. Is there a simple way to do this? RE: Schedule restart of kodi - snarfo - 2017-05-20 That's a great idea. I leave Kodi running 24/7 and it invariably crashes eventually. A daily reboot when nobody is home or when everyone's sleeping would be ideal. RE: Schedule restart of kodi - Gobberwart - 2017-05-20 (2017-05-20, 03:55)snarfo Wrote: That's a great idea. I leave Kodi running 24/7 and it invariably crashes eventually. A daily reboot when nobody is home or when everyone's sleeping would be ideal.Worst case, I'll knock up a powershell script for it and post it here. Just waiting to see if anyone can save me a few minutes lol RE: Schedule restart of kodi - Gobberwart - 2017-05-20 This powershell script will do it. Absolutely no error-checking etc, but it's a quick and nasty solution. Just call this script from scheduled tasks at whatever time you want it to run. Code: $processInstance=Get-Process "kodi" |