Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我现在拥有的日期时间:
"schedule": "R/2017-10-05T17:21:00/PT15M"
现在这项工作安排为每 15 分钟一次(按时间),但如果我想在某个时间每天执行 3 次,并且只在周一 - 周五执行?
可以用这种格式定义吗?
这是不可能的
ISO8601 旨在定义间隔,但仅限于静态。没有办法定义工作日或周末。这意味着您每天只能定义 3 次间隔,但不能从周一到周五每天定义,因为这样您在周五和周一之间的时间间隔将不相等。
您可以做的是每周安排 15 个工作。