Please forgive me if this isn't the best place for this question.
I've just finished writing a script which allows me to backup my system over FTP to a location on my server. However, one feature I'd hoped to implement into the script was the ability to initiate the XBMC Sleep Timer from the script (being run from my server).
I've done a bit of digging around, and found that the following command is initiated by the button in the shutdown menu of XBMC when a user locally sets the sleep timer:
Using this command works, however, I would like to use the sleep timer if at all possible, to that I have still got the option to cancel the shutdown if XBMC is still in use after the command is called at the end of my backup script.
Does anyone know if this is possible? If so, would you be able to offer me some pointers on how to achieve this, please?
Many thanks for your time,