English 中文(简体)
Is it possible to write a webpage-checking script and run it from a free server?
原标题:
  • 时间:2009-11-14 16:56:04
  •  标签:
  • scripting

I am sorry if my question is silly and not at the right place.

I know it s possible to write a script (in any programming language) that would check some webpage every 20 minutes, record its HTML code (source) and store it in some file. I also it s also possible to run it from my computer.

But what if I can t keep my computer on all the time? Do you think it s possible to upload this script to some free web server and run it from there all the time?

最佳回答

Sure, it s possible. You just need to find yourself an outfit that will loan you a server for such a task.

You could go with Google App Engine http://code.google.com/appengine/ if you program in Python or Java. They will let you sign up for a free Web installation. In fact, you can have up to 10 sites.

There are no files there, though. You ll have to learn to work with their slightly quirky database.

There is a facility for running jobs at regular intervals. What runs needs to be a Web service of yours, though; a simple script won t do.

Finally, you ll have to write a Web service that will let you remotely query the results. It s all Web services :)

问题回答

暂无回答




相关问题
What does it mean "to write a web service"?

I just asked a question about whether it was possible to write a web-page-checking code and run it from free web server, and one supporter answered and said that it was possible only if I run "a web ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Dynamically building a command in bash

I am construcing a command in bash dynamically. This works fine: COMMAND="java myclass" ${COMMAND} Now I want to dynamically construct a command that redirectes the output: LOG=">> myfile.log ...

Why does Scala create a ~/tmp directory when I run a script?

When I execute a Scala script from the command line, a directory named "tmp" is created in my home directory. It is always empty, so I simply deleted it without any apparent problem. Of course, when I ...

Ivy, ant and start scripts

I have a project that uses ant to build and ivy for dependencies. I would like to generate the start scripts for my project, with the classpath, based on the dependencies configured in Ivy, ...

热门标签