Cron job @job should not be running.

Created on 11 June 2024, 6 months ago
Updated 21 June 2024, 6 months ago

Problem/Motivation

Because of the following line, every time simple_cron does not execute a CRON task because the time has not yet expired, it returns it as a warning through the logger.

$this->logger->warning('Cron job @job should not be running.', ['@job' => $this->label()]);

As such this should be a 'notice', not a 'warning' as embedded systems could misinterpret the response returned by simple_cron and in essence, CRON.

Steps to reproduce

Executes a CRON task that is not yet due to run. It then displays the error report.

Proposed resolution

Change 'warning' to 'notice'

Remaining tasks

  • Code changes

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain dcimorra πŸ‡ͺπŸ‡Έ Spain

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024