Ghost will start and stop with "Cron is not a function error" since cron-validate used by jobmanager has been updated

Issue Summary

  • Using ghost-cli, to reinstall binary dependencies after updating nodejs version (minor semver)
  • What did you expect to happen?
  • Expected no issues, however, there is an error saying ghost can be started but some err with “cron is not a function”
  • I dug and seems to be an issue with tryghost job manager which uses bree and in extension cron-validate

Steps to Reproduce

  1. This is the first step…
  2. This is the second step, etc.

Setup information

Ghost Version
*Share which version of Ghost you’re using. 5.108.1

Node.js Version
If self-hosting - share which version of Node.js you’re using. 18.20.6

How did you install Ghost?
Provide some details about your install of Ghost if you are self-hosting. has been working for years, ubuntu, no change.

Provide details of your host & operating system
Include further details about your hosting and OS. ubuntu lts server, no change for years

Database type
MySQL 5.7 / MySQL 8 / SQLite 3 / Other mysql 8

Relevant log / error output

TypeError: cron is not a function
 at validateCron (/versions/5.108.1/node_modules/bree
at validate 
 at Bree.add 
at JobManager.addJob

Relevant issue found on bree side: