简体   繁体   English

在线在Perl中运行代码一段时间-有可能吗?

[英]Running a code in Perl for a while online - is it possible?

As the title suggests, I'm looking for an online Perl executor. 顾名思义,我正在寻找在线Perl执行程序。 Yes, I know http://codepad.org/ and http://ideone.com/ can execute Perl scripts online, but I'm looking for something different, so please let me tell you exactly what I'm doing: 是的,我知道http://codepad.org/http://ideone.com/可以在线执行Perl脚本,但是我正在寻找不同的东西,所以请让我确切地告诉您我在做什么:

I wish to retrieve information from a website say, every 10 or 15 minutes. 我希望每10或15分钟从网站上检索一次信息。 The information is plain text, and not very big in size. 该信息是纯文本,并且大小不是很大。 The problem is, that I want to do that for a long period of time, and not always can I leave the computer open for it to run. 问题是,我想长时间这样做,但我并非总是可以一直打开计算机以使其运行。 So what I thought about, is that maybe such a service exists, to which you enter a code, and it starts executing it, while simultaneously printing the current result. 因此,我想到的是,可能存在这样的服务,您可以向其中输入代码并开始执行它,同时打印当前结果。 I will be given a unique address, and every time I visit it I will see the program's progress. 我将获得一个唯一的地址,每次访问它时,我都会看到程序的进度。

Does such a thing exists? 这样的东西存在吗? How can I do what I wish to do? 我该怎么做我想做的事?

Thank you in advance. 先感谢您。

您可以选择的一种方式是与提供程序一起租用一些托管服务,该提供程序允许您通过cron运行perl脚本。

Here are a few cloud providers which support Perl. 以下是一些支持Perl的云提供商 dotcloud claims to have a free tier. dotcloud声称拥有免费套餐

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM