I have been trying to get an extra script to fire when the Realtime processing runs in Cumulus MX, but I can't get it to work.
In the Web/FTP Settings I have the options Enable Realtime, Enable realtime FTP and Realtime.txt FTP all checked. The realtime.txt file is successfully being uploaded to the FTP server, so I know the standard realtime processing is firing. Under External programs I have entered the following in Realtime program: "/home/pi/cumulusFTP.sh". When I check in Cumulus.ini it has the following line:
Code: Select all
RealtimeProgram=/home/pi/cumulusFTP.sh
I have my script cumulusFTP.sh set up in /home/pi and with execute rights to everyone. I can run it by entering "/home/pi/cumulusFTP.sh" at the command line and it executes. I know it has executed because I have the following as the first line of the script:
Code: Select all
echo "Sending realtime file to remote server" >/tmp/temp.tmp
When I execute the script manually the file /tmp/temp.tmp is updated as expected. But it never gets updated at any other time, so I know that it is not getting executed by Cumulus. I have tried restarting Cumulus MX but that doesn't help either. What could be going wrong? Why is Cumulus not executing the script?
I am running Cumulus MX 3.0.0 b3043 under mono v3.2.8 on Raspberry PI Raspbian Linux.
Can anyone assist?