我可以在每65分钟运行一次cron作业吗?未能解析错误 [英] Can I run a cron job after every 65 mintues. Getting failed to parse error

查看:141
本文介绍了我可以在每65分钟运行一次cron作业吗?未能解析错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图每隔65分钟运行一次cron作业。在GAE上传应用程序时出现以下错误。



在将aws-spending部署到Google期间出现内部错误。
每65分钟计划一次同步解析失败。



如果这不可行,是否有办法在另一个完成后运行cron作业?



我的cron.xml:

 <?xml version =1.0encoding =UTF-8?> 
< cronentries>
< cron>
< url> / metricsposter< / url>
< description>将结算指标发布到Graphite的Servlet< / description>
< schedule>每65分钟同步< / schedule>
< / cron>
< / cronentries>


解决方案

这似乎是GAE部分的错误。刚刚测试过 - 你可以设置60,80或90分钟,但不是65,70,75或85分钟。



您应该提交错误。


I am trying to run a cron job every 65 minutes. Getting the following error while uploading the app on GAE.

An internal error occurred during: "Deploying aws-spending to Google". schedule every 65 minutes synchronized failed to parse.

If this is not possible is there a way to run a cron job after another one finishes?

My cron.xml:

<?xml version="1.0" encoding="UTF-8"?> 
<cronentries> 
    <cron> 
        <url>/metricsposter</url> 
        <description>Servlet that posts billing metrics to Graphite</description>
        <schedule>every 65 minutes synchronized</schedule> 
    </cron> 
</cronentries>

解决方案

This seems to be an error on GAE part. Just tested it - you can set 60, 80 or 90 minutes, but not 65, 70,75 or 85 minutes.

You should file an error.

这篇关于我可以在每65分钟运行一次cron作业吗?未能解析错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆