Multiple crons in a single module not found

Created on 18 July 2018, over 6 years ago
Updated 24 November 2024, 4 months ago

When using hook_conapi if multiple crons are specified, only a single cron is picked up by Ultimate Cron.

The issue resides in the CronJobDiscovery class, in particular the getModuleHooks method.

Attached is a patch which allows users to specify multiple cron jobs in a single module, but it still needs some work like, to add all options (scheduler, logger.. ). Only title option do work for now.

Please review and commit.

💬 Support request
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇺Australia vinaySreedhara

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

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