Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8371969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:17:41+00:00 2026-06-09T14:17:41+00:00

In most Jenkins’ examples the SCM poll value is designated */15 * * *

  • 0

In most Jenkins’ examples the SCM poll value is designated */15 * * * *, ie. poll SCM every 15 minutes. That’s fine when you have hundreds of jobs, but not if you have thousands of jobs as it results in thousands of request to the SCM (Subversion in this case) server at 15, 30, 45, and 0 minutes past the hour.

Is there some way to randomize the polling value in Jenkins so as to avoid the above scenario?

On the Jenkins master configuration screen there’s a value Max # of concurrent polling. Should this be set (and to what value) to avoid the above scenario?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:17:42+00:00Added an answer on June 9, 2026 at 2:17 pm

    Use H instead of * and Jenkins will randomly distribute the polling. Note that at present a good syntax has not been found for a frequency differing from once per hour/day/etc, so

    H * * * *
    

    will poll once per hour at a a pre-determined random minute.

    H H * * *
    

    will poll once per day at a pre-determined random hour and minute

    H H H * *
    

    will poll once per week

    0 H * * *
    

    will poll on the hour but once per day at a pre-determined random hour.

    Keep in mind that you are allowed multiple cron lines and any will match, so until a good syntax for sub-hour frequency has been settled on, you can get closer (on average) with something like

    H * * * *
    H * * * *
    H * * * *
    H * * * *
    H * * * *
    H * * * *
    

    will give you on average 15 minutes between polling (yes there will be 6 pollings per hour, but that is to give a good chance that at least one polling will fall in each quarter hour)

    If you have good suggestions for a syntax distributing within the hour please respond to this thread:

    https://groups.google.com/forum/?fromgroups#!jenkinsci-users/VghEjfygWuw/PuIG1o7u1GQJ%5B1-25%5D

    Update (April 2013)

    Jenkins 1.510 and newer includes a new syntax to allow specifying distributions within the hour

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Most anti-spam scripts I have seen are actually javascript scripts that obscure the email
Most examples (if not all) that I see are the sort of a function
Most examples I see of Unit tests are simple tests like Assert.That(5, 2 +
Most examples I see about hosting WCF in IIS have you create an Application
Most of the examples I have seen online have something similar to: FileOutputStream out
Most apps have some kind of preferences or user settings that can be stored
Most of the winforms timer examples I have looked at declare static callbacks. Is
Most of the examples that I've seen on Workflow Services put activities between the
Most of the examples I have found explain how to refresh a div with
I have two Jenkins projects that share a database. They must not be run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.