When reviewing the jobs configuration in apps manager UI, you might find an abnormal message, "The scheduler service has not been enabled yet".
This happens when duplicated scheduler service instances are created in a single space. As stated in the document: The Scheduler service is a singleton service. Only one service instance can be created in a space.
You may notice the following error message in the broker log, "Provision Handler:Duplicate In Space". The broker log can be found through "cf logs scheduler --recent" in org system / space scheduler.
"caller":"handlers/provision.go:50","msg":"Provision Handler:Duplicate In Space","stacktrace":"pcf-scheduler/broker/web/handlers.ProvisionHandler.ServeHTTP
|
Find out all scheduler service instances in the current space and their GUIDs
Keep the oldest scheduler service instance and remove all others with commands below.
a) Get the creation time of each scheduler service instance
b) Remove all other scheduler service instances except the oldest one