【发布时间】:2016-06-02 05:33:03
【问题描述】:
我在 appengine 项目中有 cron 设置:
<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
<cron>
<url>/cron/someurl</url>
<description>cron</description>
<schedule>every monday 8:00</schedule>
<timezone>Asia/Singapore</timezone>
</cron>
</cronentries>
我收到错误:
com.google.apphosting.api.DeadlineExceededException: This request (40811df3b6350a70) started at 2012/11/26 00:00:00.404 UTC and was still executing at 2012/11/26 00:09:59.917 UTC.
运行任务有 1 分钟的限制?我虽然 cron 没有这个限制。如何避免 cron entry 报错?
谢谢。
【问题讨论】:
标签: java google-app-engine cron