api - 好数据 API : format of the recurrence value

标签 api gooddata

我正在尝试安排通过 API 发送仪表板: http://docs.gooddata.apiary.io/#reportsanddashboardsbyemail

设置电子邮件发送频率的参数有一些奇怪的格式:

"recurrency": "0:0:0:1*12:0:0",

我希望它是一个 cron 表达式,以前从未见过这种格式。有人知道这些数字的含义以及如何将它们组合在一起吗?

最佳答案

您可以找到规范 here

例如:

0:0:2:1:0:0:0 every 2 weeks and 1 day 
0:0:0:0:5:30:0 every 5 hours and 30 minutes 
0:0:0:2*12:30:0 every 2 days at 12:30 (each day) 
0:0:0:1*2,4,6:0:0 every day at at 2:00, 4:00, and 6:00 
0:0:0:2*12-13:0,30:0 every other day at 12:00, 12:30, 13:00, and 13:30 
0:1:0*-1:0:0:0 the last day of every month
*1990-1995:12:0:1:0:0:0 Dec 1 in 1990 through 1995 
3*1:0:2:12:0:0 every 3 years on Jan 2 at noon 
0:1*0:2:12,14:0:0 2nd of every month at 12:00 and 14:00

关于api - 好数据 API : format of the recurrence value,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22186748/

相关文章:

customization - 在 GoodData 中,我可以自定义仪表板选项卡的布局吗?

api - Magento SOAP 无法创建订单

javascript - 如何显示 Bitly API 调用的短 URL?

python - 如何处理来自谷歌地图 api 的错误?

ruby-on-rails - 如何在 Rails 3 中测试来自第三方 API 的响应

security - Symfony2-特定于URL的安全HTTP方法

api - 如何向 GoodData API 进行身份验证?

postgresql - 使用 cloudconnect 加载 PostgreSQL 数据库

oauth-2.0 - CloudConnect 和 GoogleBigQuery