我正在尝试使用Google App Engine cron调度程序(针对Java应用程序)安排"仅在工作日每15分钟"运行一项工作.
http://code.google.com/appengine/docs/java/config/cron.html#The_Schedule_Format
有没有人知道正确的语法是什么?我尝试使用下面的xml,但发现它运行的所有日子不仅仅是列出的工作日.
<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
<cron>
<url>/finance/collect</url>
<description>Fetch data every 15 minutes</description>
<schedule>every 15 minutes monday, tuesday, wednesday, thursday, friday</schedule>
</cron>
</cronentries>
Run Code Online (Sandbox Code Playgroud)
谢谢
归档时间: |
|
查看次数: |
1809 次 |
最近记录: |