2013-02-22, 14:24
Hi,
I used the service program (service.cronxbmc) to execute a bash shell script in my Raspberry-pi updatet with the latest Openelec version (2.99)
I edited the cron.xml file: the script every 5 minutes
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
<?xml version="1.0" ?>
<cron>
<job name="TamTam" command="System.ExecWait(/storage/.xbmc/script/tamtam/tamtam.bash)" expression="*/5 * * * *" show_notification="true" />
</cron>
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
It works, but a strange message is stored int xbmc.log file:
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
23:30:00 T:2952533088 NOTICE: service.cronxbmc: TamTam will run again on 02-21-2013 23:35
23:30:00 T:3042848768 NOTICE: ProcessMessage: Failed to suspend AudioEngine before launching external program
23:30:10 T:3042848768 FATAL: ProcessMessage: Failed to restart AudioEngine after return from external player
23:35:00 T:2952533088 NOTICE: service.cronxbmc: running command TamTam
23:35:00 T:2952533088 NOTICE: service.cronxbmc: TamTam will run again on 02-21-2013 23:40
23:35:00 T:3042848768 NOTICE: ProcessMessage: Failed to suspend AudioEngine before launching external program
23:35:03 T:3042848768 FATAL: ProcessMessage: Failed to restart AudioEngine after return from external player
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
The error is displayed even if a very simple bash shell is executed:
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
#! /bin/bash
# this is the body of TanTan.bash shell
date >> /storage/.xbmc/script/tamtam/tamtam.txt
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
Of course I changed the rwx permision of directory and tamtam.bash script using chmod -R 777 /storage/.xbmc/script command.
Have you any idea about the problem ?
Thank you very much for your kindness
regards
Luigi Ferrari
I used the service program (service.cronxbmc) to execute a bash shell script in my Raspberry-pi updatet with the latest Openelec version (2.99)
I edited the cron.xml file: the script every 5 minutes
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
<?xml version="1.0" ?>
<cron>
<job name="TamTam" command="System.ExecWait(/storage/.xbmc/script/tamtam/tamtam.bash)" expression="*/5 * * * *" show_notification="true" />
</cron>
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
It works, but a strange message is stored int xbmc.log file:
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
23:30:00 T:2952533088 NOTICE: service.cronxbmc: TamTam will run again on 02-21-2013 23:35
23:30:00 T:3042848768 NOTICE: ProcessMessage: Failed to suspend AudioEngine before launching external program
23:30:10 T:3042848768 FATAL: ProcessMessage: Failed to restart AudioEngine after return from external player
23:35:00 T:2952533088 NOTICE: service.cronxbmc: running command TamTam
23:35:00 T:2952533088 NOTICE: service.cronxbmc: TamTam will run again on 02-21-2013 23:40
23:35:00 T:3042848768 NOTICE: ProcessMessage: Failed to suspend AudioEngine before launching external program
23:35:03 T:3042848768 FATAL: ProcessMessage: Failed to restart AudioEngine after return from external player
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
The error is displayed even if a very simple bash shell is executed:
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
#! /bin/bash
# this is the body of TanTan.bash shell
date >> /storage/.xbmc/script/tamtam/tamtam.txt
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
Of course I changed the rwx permision of directory and tamtam.bash script using chmod -R 777 /storage/.xbmc/script command.
Have you any idea about the problem ?
Thank you very much for your kindness
regards
Luigi Ferrari