Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18671

Scheduled jobs walk again in 4.7

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Basically CRM-17669 caused a regression of CRM-16276.

      Both CRM-16276 and this StackExchange answer describe the problem. The fix that was incorporated into 4.6.3 was to evaluate the year-month-day of the last run and compare it to the current year-month-day. The result is that daily jobs ran at midnight and hourly jobs ran at the top of the hour.

      In adding new scheduled job frequencies, the commit for the new feature switched back to the old logic of checking how much time has elapsed since the last run. That logic causes the walk.

        Attachments

          Activity

            People

            • Assignee:
              andrewhunt Andrew Hunt
              Reporter:
              andrewhunt Andrew Hunt
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: