GoogleAppEngine支持了cron jobs!
水曜日, 4月. 8. 2009 –
Category: GAE 开发 –
3 Comments
Tags:
Google App Engine
cron jobs
刚刚发现gae支持了cron jobs (定时任务)
在控制台里可以看到有一项:
正好我的geo twitter项目 需要定时更新twitter上的项目(因为twitter的rate limits)
这是文档:http://code.google.com/intl/zh-CN/appengine/docs/python/config/cron.html
其实很简单 根目录建个文件 cron.yaml
比如我5分钟执行一次:
cron:
- description: refresh twitter friends timeline
url: /event/refresh
schedule: every 5 minutes
再上传app就可以了:P
3 Response to “GoogleAppEngine支持了cron jobs!”
Leave a Reply
Logo
About Me
-
A Computer Geek in Beijing, China. Focus on Web2.0 Technology: Google App Engine, Python, Django, Software Architecture, Agile, JAVA, J2EE, JavaScript, etc.
Coding for fun, Coding with passion :-) It's my life!
Most Popular Posts
- 1. GAE限制续 (2095)
- 2. Eclipse Google Plugin安装指南 (1959)
- 3. iHere Blog 1.0.2 安装配置 (1815)
- 4. iHere Blog 安装 简要配置 (1505)
- 5. 终于在做导入的时候遇到了GAE的瓶颈 (1206)
- 6. GAE上面的Unittest总结 (1088)
- 7. 新加Ajax效果Page flow (1090)
- 8. Web Python IDE Py I/O release! (1063)
- 9. 新东西 呵呵 JS3D (1034)
- 10. 转向了Appengine patch (1023)
Tags
-
App Engine
Appengine patch
Django
Google
Google App Engine
Google App Engine
Java
algorithm
api
app
appengine
autodiscovery
blog
cache
chat
cloud computing
cron jobs
datastore
demo
feature
fetion
fridge
gae
geo
google
google app engine
google docs
googlemaps
iHere Blog History
ide
ihere
inforsphere
install
java
jquery
map
mashup
memcache
metaweblog
new
nutch
open source
pageflow
plugin
projects
pyio
python
quota
release
released
rss
sdk
snap
sort
topStory
twitter
weblog api
杂记


7 months, 4 weeks ago IP:218.82....
可以用urlfetch来检查我的网站是否被又出问题了~
只能有20条,不过已经够用了
现在不担心counter之类的计算了,每小时自动更新一下缓存就行了
7 months, 2 weeks ago IP:117.22....
我在注册GoogleAppEngine时,在GoogleAppEngine这里不论输入什么都报这个错误: Sorry, "dfgdfgdfgdf" is not available. Application Identifiers may contain only numbers, lowercase letters or hyphens and must be between 6 and 30 characters. 我想做的到为什么,可以发到我的邮件中吗?
7 months, 2 weeks ago IP:202.108...
哦 这个是说 你注册app时候 app标识必须是6到30个的由英文和数字组成的字符 也可能你的app id 被别人注册过了 换个id 试试吧:-)