在Google App Engine中使用Cron作业

时间:2020-03-06 14:50:37  来源:igfitidea点击:

如何在Google App Engine上使用Cron?

解决方案

本页列出了如何在Google Appengine上实现类似Cron的功能。

阅读第6期的评论以了解可能的解决方法。

使用http://schedulerservice.appspot.com/或者http://code.google.com/p/gaeutilities/wiki/Cron

看到这篇文章,也许很快我们就会在GAE中获得排序功能。

根据两周前AppEngine官方博客的公开路线图更新,计划的任务(以及后台任务队列)将于不久的将来("在未来六个月",即2009年2月6日)发布。 。

Google已在AppEngine中正式启用cron,有关更多详细信息,请检查:

Cron for Python:
http://code.google.com/appengine/docs/python/config/cron.html

Cron for Java:
http://code.google.com/appengine/docs/java/config/cron.html

我们现在可以使用Google Appengine运行计划的任务

http://code.google.com/appengine/docs/python/config/cron.html#Securing_URLs_for_Cron

这是一个http://cron-tab.appspot.com/示例,相关项目中的python源代码位于code.google.com/p/cron-tab/

这是有关使用Google App Engine Cron Job发送自动电子邮件的教程:

http://www.fishbonecloud.com/2010/11/automated-email-using-google-app-engine.html