Add equality check to update_cron() interval calc

Created on 13 December 2025, about 2 months ago

Problem/Motivation

If a release is outstanding and email interval is set to eg 1 day, and cron runs hourly, the email will be sent an hour later each day.

Steps to reproduce

Setup as above.

Proposed resolution

in update_cron() in update.module

 if (($request_time - $last_check) > $interval) {
if (($request_time - $last_email_notice) > $interval) {

replace '>' with '>='

Remaining tasks

add patch if agreed

User interface changes

none

Introduced terminology

none

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.6

Component

update.module

Created by

🇬🇧United Kingdom Jons

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024