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

Job does not start based on Scheduler / Cron configuration

      How to reproduce

      • Create a free style project
      • Source Code Management - None
      • Build Triggers - periodically - H/5 * * * *
        (The description below the input field indicates that it understands the cron syntax and matches by expectation)
      • Build - Execute Windows Batch command - dir
      • Save

      Expectation - Job kicks off every 5 minutes
      Observed - Job never kicks off.

      Extra Info
      The JOB only ever kicks off as expected (in next 5 min) only one time after Jenkins is restarted. Then onwards, it never kicks off. Going back to the configuration page, I see the following description under the cron configuration which indicates there is an issue. The time value it displays is not as expected.
      "Would last have run at Thursday, 24 September 2015 11:05:11 AM EST; would next run at Thursday, 24 September 2015 11:05:11 AM EST."

      Changing the cron config to something like H/10 * * * * updates the description correctly to match expected behaviour - except it does not kick off the job. Retuning back to the configuration page at a later time shows incorrect looking description.

          [JENKINS-30623] Job does not start based on Scheduler / Cron configuration

          Andreas K added a comment -

          This issue seams to be related to another plugin

          Andreas K added a comment - This issue seams to be related to another plugin

          Which plugin this could be related ?
          I have the same issue, all cron based triggers are no more launched.

          Eckhard Völlm added a comment - Which plugin this could be related ? I have the same issue, all cron based triggers are no more launched.

          Khushil Dep added a comment -

          voellm did you ever discover which other plugin this was? We're having the same issue with v2.10

          Khushil Dep added a comment - voellm did you ever discover which other plugin this was? We're having the same issue with v2.10

          anderl86 What is the other plugin? voellm or khushildep Did you guys have any work around to overcome this issue. I'm having the same issue with v2.7.2.

          Gowtham Alluri added a comment - anderl86 What is the other plugin? voellm or khushildep Did you guys have any work around to overcome this issue. I'm having the same issue with v2.7.2.

          Same Issue, has anyone got the solution?

          I've set the schedule as:-

           

          TZ=Asia/Kolkata
          H 8 * * *
          

           

          It runs on some days on time and on other days it just doesn't run, not sure what's the problem.

          For now, I've changed it to 

          0 8 * * *

           , let's see if that makes a difference.

          Nitin Vishwakarma added a comment - Same Issue, has anyone got the solution? I've set the schedule as:-   TZ=Asia/Kolkata H 8 * * *   It runs on some days on time and on other days it just doesn't run, not sure what's the problem. For now, I've changed it to  0 8 * * *  , let's see if that makes a difference.

            anderl86 Andreas K
            an2d AN2D
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: