简体   繁体   English

Google App Engine urlfetch循环

[英]Google App Engine urlfetch loop

Can I make a loop in Google App Engine that fetches information from a site? 我可以在Google App Engine中进行循环以从网站获取信息吗?

I have made a small code that already gets the information I want from the site, but I don't know how to make this code run every lets say, 20 minutes. 我编写了一个小的代码,已经从网站上获取了我想要的信息,但是我不知道如何让此代码每20分钟运行一次。

Is there a way to do this? 有没有办法做到这一点?

PS: I have looked at TaskQueue, but I'm not sure if it is meant for things like this. PS:我看过TaskQueue,但是我不确定它是否适用于这样的事情。

看一下GAE cron功能。

这就是cron插件的用途- 这里有一些文档可帮助您入门。

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

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