sry for the late reply,
i have 2 scripts running triggered by the callback add-on for xbmc, on screensaver on, a file is created and a 30 minut timer starts. if the file is still in place after 30 minuts, my amplifier get a IR command to shutdown. on screensaver off, the script removes the file. the 1st script then opun not finding it, does nothing, telling me enjoy my buissines.
The reason i like to execute a command outside xbmc is because if i decide to play some vinyl after watching a serie, the timer will kill the amp. and removing the little file with an 3th script will let me enjoy my music without disruption.
its not a big problem, maybe i have to rethink the whole process anyway.
tnx for the link burke, it looks promissing, only thing thats not working is getting the escape code part ( im ssh-ing) but i read something on this forum about that, so ill digg some later. cheers!