我正在计划通过API:http://docs.gooddata.apiary.io/#reportsanddashboardsbyemail发送仪表板
设置电子邮件发送频率的参数有一些奇怪的格式:
"recurrency": "0:0:0:1*12:0:0",我希望它是一个cron表达式,以前从未见过这种格式。谁知道这些数字是什么意思,以及如何把它们组合起来?
发布于 2014-03-05 08:48:20
您可以找到规范这里
例如:
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:00https://stackoverflow.com/questions/22186748
复制相似问题