- Posts: 2
- Thank you received: 0
<LastOccurrence>-</LastOccurrence> <NextOccurrence>2016-12-20 11:01</NextOccurrence>
dochego wrote: Hello,
I am trying to get started with EasyIOT, so I've installed the server and followed the Automation example on iot-playground.com/blog/2-uncategorised/...er-automation-part-i
The cron entry is set to * * * * *, so I expect the programme to run periodically.
When I enable the programme, it prints out the setup message, but I never get the console message from the Run function.
Programme compiles fine, and it seems to update the first repeat time correctly in programme.xmlBut nothing happens when the "NextOccurence" time comes (and the entry in programme.xml doesn't get updated).<LastOccurrence>-</LastOccurrence> <NextOccurrence>2016-12-20 11:01</NextOccurrence>
I've tried wheezy and jessie, easyiot 0.8 and 0.9, same problem. cron daemon is running.
Any idea how I can troubleshoot this?
dochego wrote: Thanks for the reply. I figured that easyiot's cron was separate from linux's, and I understand that it should be running every minute with the entry I have.
My problem is that it doesn't: It creates an entry in programme.xml with a NextOccurrence one minute after programme start (so that seems to be correct). It then never runs the programme again, or updates the entries for Last/NextOccurrence in programme.xml.