Support for Ultimate Cron

Created on 14 November 2023, 8 months ago
Updated 8 February 2024, 5 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 5 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.69.0 2024