Push vs pull question
Posted: Tue Feb 09, 2016 1:30 pm
This could be a real thick question, apologies in advance.
I have a monitoring device in my home and want to periodically upload information. The basic choices would seem to be either pushing from it to my eskimo account, or periodically pulling from it. What can I do from a standard shell account?
I am a bit vague on how hitting my public web site (eskimo.com/~user) gets routed to my public_html directory. Can I put up something that responds on another port and push to it if I want to run something like xmlrpc over http? Or just create a subdirectory and specify it in the URL? Scp or ftp could be alternatives.
If I want to write something that pulls from my device, can I simply create a crontab entry for myself? In that case my device has a simple web server that a wget command could hit, say. Or, again, some sort of custom http/xmlrpc protocol.
Thanks.
I have a monitoring device in my home and want to periodically upload information. The basic choices would seem to be either pushing from it to my eskimo account, or periodically pulling from it. What can I do from a standard shell account?
I am a bit vague on how hitting my public web site (eskimo.com/~user) gets routed to my public_html directory. Can I put up something that responds on another port and push to it if I want to run something like xmlrpc over http? Or just create a subdirectory and specify it in the URL? Scp or ftp could be alternatives.
If I want to write something that pulls from my device, can I simply create a crontab entry for myself? In that case my device has a simple web server that a wget command could hit, say. Or, again, some sort of custom http/xmlrpc protocol.
Thanks.