2016-02-09 15:17 GMT+01:00 Oliver Holmes <oliver.hol...@gmail.com>:

> José Luis,
>
> now that sounds promising! So, what I'd do is put my serial port reading
> procedure together with SQL inserts in an endless loop (while True) and
> just let it roll.
>

Right, but you can use DAL, not pure sql if you put the script in the
controllers directory.



> Later on though, I'd like to have it all wrapped up in a service to start,
> whenever the Raspberry booted. I'm guessing, that could be achieved after
> reading one or two how-to articles, so I'm not worried. I'll give this a go
> and let you all know about how it went.
>
>

just add it to /etc/rc.local, it should be as easy as that.




> Regards,
> Oliver
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to