Scheduler seems active but nothing is running

Hello I just discovered an issue with the scheduler.

Bench tree: 4 sites — Site A, A Testing, B, B Testing.

On B and B Testing, everything works properly.

On A and A Testing, if I run manually:

bench --site "sitename" execute frappe.utils.scheduler.enqueue_events --kwargs '{"site": "sitename"}'

It properly runs the scheduled jobs — but not automatically. Same for backups: if I trigger them manually it works, but not automatically. This only affects A and A Testing. Note that A Testing has an older database version than A.

All the checks I performed show no issues at the bench level. I also tried the following without any effect:

  • Backup + restore

  • Bench restart

  • Full server restart

Can someone have an idea of the solution ?

Thanks
Best regards