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.
我正在使用 mac osx 10.6 - 似乎分钟参数决定了作业运行一小时后的分钟数。但是你如何设置一个工作来运行每一个小时后的 x 分钟。
我尝试将分钟设置为一个包含多个数字的数组和一个包含一个字符串“*/5”的数组,即类似于 crontab 的每五分钟语法。
好的,这是一个解决方案:
<key>StartCalendarInterval</key> <array> <dict> <key>Minute</key> <integer>0</integer> </dict> <dict> <key>Minute</key> <integer>55</integer> </dict> </array>
因此,您似乎需要为每个重复的工作设置一个字典。