ich wollte das Wetter stündlich holen und auf einem Wanddisplay anzeigen, nur bringe ich das Shellskript nicht zum Laufen
Ich habe nun alles vereinfacht:
im log sehe ich relevante Einträge, nur leider nicht jeder Minute, nur einmalig:
Code: Alles auswählen
Oct 7 00:49:00 homematic-ccu2 local0.info ReGaHss: Info: XmlRpcMethodEvent::execute: Event="CUX2801001:1"."CMD_SETS"="/usr/local/test/testsh" [iseXmlRpc.cpp:344]
Oct 7 00:49:00 homematic-ccu2 local0.debug ReGaHss: Verbose: XmlRpcMethodEvent::execute: UpdateValue succeeded; val = /usr/local/test/testsh [iseXmlRpc.cpp:387]
Oct 7 00:49:00 homematic-ccu2 local0.info ReGaHss: Info: IseXmlRpc::CallXmlrpcMethod: method =setValue params = {"CUX2801001:1","CMD_SETS","/usr/local/test/testsh"} result = "" [iseXmlRpc.cpp:2646]
Oct 7 00:49:00 homematic-ccu2 local0.info ReGaHss: Info: IseXmlRpc::CallXmlrpcMethod: method =setValue params = {"CUX2801001:1","CMD_QUERY_RET",true} result = "" [iseXmlRpc.cpp:2646]
Oct 7 00:49:00 homematic-ccu2 local0.debug ReGaHss: Verbose: SchedulerRT::Execute -> ExecuteScript: id = 3467; ticks = 31 [iseRTScheduler.cpp:601]
Woran kann es liegen?
ich habe schon testweise "dom.GetObject("CUxD.CUX2801001:1.CMD_SETS").State("/usr/local/test/testsh");" durch "dom.GetObject("CUxD.CUX2801001:2.CMD_SETS").State("/usr/local/test/testsh");" ersetzt, das bringt nichts.
Für mich wäre auch eine Option das Skript per cron statt als ein Zeitprogramm zu starten, nur startet es auch nicht wenn ich ihn in crontab eintrage:
Code: Alles auswählen
# cat /usr/local/crontabs/root
12 4 * * * /bin/setHWClock.sh
14 4 * * * /bin/SetInterfaceClock 127.0.0.1:2001
0 4 * * * /usr/sbin/logrotate -f /etc/logrotate.conf || logger -p error -t "logrotate" "logrotate aborted with error $?"
* * * * * /usr/local/test/testsh