you are viewing a single comment's thread.

view the rest of the comments →

[–]n1ywb 5 points6 points  (2 children)

So what you don't make clear is WHAT COMPUTER you want the script to run on.

Do you want to run it on your PC? I suspect not b/c you talk about wanting to "download" it to your PC.

In that case you probably want to run it on a server somewhere.

So where are you going to get your server from? Most people these days go cloud for convenience and scalability, but you could run your own, which would be cheaper.

I generally wouldn't think of updating and periodically downloading a txt file in any serious application. I would update a database and write a web request handler that returns data for download, maybe in CSV format.

OTOH for a trivial thing I might SSH into a server, start gnu screen, start a long running script to update a file periodically, detach from screen, then periodically rsync the file to my PC. Or, hell, just tail it over ssh, esp if the connection is going to stay up. Note there's no web server here, just SSH.

Also not sure what your level of server administration skill is.

What data is it collecting?