Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27663

Bad execution time for jobs periodically executed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      Dear,

      On our platform, we have 3 jenkins instances based on the LTS 1.596.1

      On each of these 3 jenkins instances, I have created a free-style job which is periodically executed each 2 minutes. This job does nothing else (no checkout from a repository, no maven build, etc - this is the more basic job which can be done)

      On the first 2 jenkins instances, the job is well executed every 2 minutes.
      However, on the third one, it is randomly executed (more or less every 20 minutes).
      This makes me think that I have a configuration issue on my third jenkins instance.

      On 27/03, I have added some logs in the Jenkins administration panel and found the following stack trace:

      cron checking 3/27/15 4:49 AM
      

      whereas the date on the server was different:

      [www@MYSERVER ~]$ date
      Fri Mar 27 10:32:27 CET 2015
      

      In order to allow me to investigate on this issue and identify the difference between my 3 servers, I would need to know if there is a configuration file or a specific directory which manages the date of the jenkins crontab.
      Could you please explain how the cron process works inside Jenkins ?

      Please note that our Jenkins instances use:
      user.timezone=Europe/Paris

      Best regards

            Unassigned Unassigned
            lvercruysse Ludovic Vercruysse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: