Add option to disable cron activity

Created on 3 October 2022, about 2 years ago
Updated 24 July 2024, 5 months ago

Problem/Motivation

We have a large site with over 100k links indexed. We would like more granular control over when and how many links are scanned, and want to decouple link scanning from cron. Fortunately it's easy to set up our own ad hoc schedule using the drush commands (thank you!) but there's not an option to disable the cron check.

Proposed resolution

Add a "Disable cron" option to the "Check settings" part of the config form. Do not run during cron if this is checked.

Remaining tasks

I guess a test would be good.

User interface changes

Adding a checkbox to the config form.

API changes

None.

Data model changes

Adding a config setting to the schema.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇺🇸United States joshf

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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