Thank's for this link.
I solved the problem pretty easy:
I create the file /storage/.kodi/userdata/autoexec.py which contains the following python code
Code#!/usr/bin/env python import xbmc xbmc.executebuiltin("XBMC.AlarmClock(shutdowntimer,XBMC.Powerdown(), 90)")
After the boot it starts the buildt-in function AlarmClock().
Hmm.
I'm not great with python or nothing but looks like it shuts off 90mins after booting each time it's on?
Anyhow, as long as it works for what you need..
Also,
If you know of how.. itd be nice to use the time specified script (I linked) to do same thing on Ubuntu (16)
I assume it could be done similarly?
Or 'remotely shutdown of Ubuntu' i read ages ago there was a package looked for email & when it saw new mail it would run script...
But the package was buggy, outdated etc
Don't know If you know of any way?
Cheers.
Sent from my HTC 10 using Tapatalk