Deployed code runs on cloud through Webhook/Schedule
You don't need to keep your code running anymore.
Run the code through Webhook on the obniz Cloud.
You can easily coordinate a hardware and webservices like IFTTT.
See more detail
Execution hourly, daily or in other timing is possible.
Hardware events like 'obniz online' and 'switch pressed' can be used as triggers to run a program automatically.