Support for Ultimate Cron

Created on 14 November 2023, about 1 year ago
Updated 8 February 2024, 9 months ago

Problem/Motivation

Previously we were using node_revision_delete 1.x with Ultimate Cron, it works, can make a schedule
however node_revision_delete 2.0.x does not have a hook_cron

When using ultimate cron and node_revision_delete I do not see a job available for nrd

I will try uninstalling Ultimate Cron to see if cron even works with nrd 2.0.x as I haven't even tested that yet.

I'm a bit surprised by this.

Steps to reproduce

  1. Install ultimate cron
  2. install nrd 1.x
  3. configure ultimate cron
  4. ultimate cron registers nrd 1.x job no issue
  5. now upgrade to nrd 2.0.x
  6. go back to ultimate cron configuration
  7. no job available, it's broken

Proposed resolution

?? have no idea why there's no hook_cron and I'm unfamiliar with the 2.0.x code of nrd

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Feature request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

  • Issue created by @joseph.olstad
  • Status changed to Closed: works as designed 9 months ago
  • 🇧🇪Belgium rp7

    @joseph.olstad

    There's no hook_cron() implementation because NRD 2.x does it processing through a queue worker. Queue workers are executed via Drupal's core cron & don't need a specific hook_cron() implementation.

    I have no experience with Ultimate Cron myself, but going by the project description it has ways of configuring when queues are to be run. You'll have to look for the "node_revision_delete" queue.

Production build 0.71.5 2024