I am using my phidget SBC to manage the heating and the double-flow ventilation system of my house (in France - sorry for my not very accurate English).
I am very happy with my SBC, all my programs are written in Java, they are .jar launched at the booting of the SBC.
There are 3 projects:
- one managing the heating (towards the 8 8 8 phidget of the SBC)
- one managing the ventilation (towards one more 8 8 8 phidgets connected to the SBC via USB)
- one that allow me to drive the system from anywhere and that send me an email in case of any misfunction (towards the wire internet connection of the SBC)
The two first programs are very stable, they have been running for months without any problem (at the end I noticed the SBC was very slow when connecting with the web interface, so I rebooted it and it was OK for another couple of months)
The last program is crashing after a non determinated amount of time (between 5 minuts and a week), pheraps because this program is too heavy, peraphs due to a memory leak, I did not managed to fix it.
That is why I am trying to launch it via crontab each hour, and to make it die after one hour of work (if it has not already crashed before by itself....)
I have tried a lot of crontab commands, none is working.
My program is located from sbc root:
The crontab file I edited is the one located:
In which I added the line:
00 * * * * root java -jar /usr/userapps/DataLink/DataLink.jar
Will really appreciate any help!