If I understand correctly, job_scheduler_rebuild_all() is called when any module is enabled or disabled. It sets a flag by means of a variable_set(), and the next time cron is run, this flag ensures that job_scheduler_rebuild_scheduler() is called.
It seems to me that having the only way into this process be a module status change is not enough.
For instance, what if a developer changes the period of a schedule in their hook_cron_job_scheduler_info()?
Or if a (hypothetical) schedule UI module dynamically returns schedules in hook_cron_job_scheduler_info(), which change according to UI settings?
It seems to me that this module needs to be able to react to cache clears.
Closed: outdated
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.