jenkins - 使用 ‘H * * * *’ 而不是 ‘5 * * * *’ 均匀分布负载

在设置 Jenkins 应如何从颠覆中提取更改时 我尝试检查 Poll SCM 并将时间表设置为 5 * * * *,我收到以下警告

Spread load evenly by using ‘H * * * *’ rather than ‘5 * * * *’

我不确定 H 在这种情况下是什么意思以及为什么要使用它。

最佳答案

H代表哈希

To allow periodically scheduled tasks to produce even load on the system, the symbol H (for “hash”) should be used wherever possible. For example, using 0 0 * * * for a dozen daily jobs will cause a large spike at midnight. In contrast, using H H * * * would still execute each job once a day, but not all at the same time, better using limited resources.

关于jenkins - 使用 ‘H * * * *’ 而不是 ‘5 * * * *’ 均匀分布负载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26383778/

相关文章:

iphone - 如何在 Xcode 中减少构建时间/加快编译时间?

android - 如何使用 Ant 构建 Android 示例项目? build.xml 不存在

android - 多个 dex 文件定义 Lorg/apache/cordova/BuildHel

jenkins - 在多个同时上游作业成功后,如何让 Jenkins 作业开始?

c++ - 为多个项目和配置有效地使用 Visual Studio 项目属性

java - .NET 世界是否有 Maven 替代方案或端口?

.net - 为什么 .NET 中不需要 Maven?

python - MANIFEST.in 在 "python setup.py install"上被

java - 无法找到 tools.jar

go - 如何编译由多个文件组成的 Go 程序?