What would be a good way to define two (or more) cronjobs without creating multiple modules?
As far as I know, in order to define a new cronjob, a hook_cron needs to be used like following:
However, I have come to the point where I need to create new cronjob (in order to set different launch times using Ultimate Cron).
At first I looked at Ultimate Cron module and it's hook_cronapi hook as in documentation. However, that and other hooks doesn't really work - https://www.drupal.org/node/2842834
How should I implement it without creating additional modules and using hook_cron's?