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
- Install ultimate cron
- install nrd 1.x
- configure ultimate cron
- ultimate cron registers nrd 1.x job no issue
- now upgrade to nrd 2.0.x
- go back to ultimate cron configuration
- 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
Comments
Comment #2
rp7 commented@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.