Background Jobs Failed to get method for command

Im using backgroud_jobs enqueue method in my code also i imported frappe.utils import convert_utc_to_user_timezone but in backgrond jobs page whenever i reload the page it gives error like…

from frappe.core.page.background_jobs.background_jobs import get_info
from frappe.utils.background_jobs import enqueue

I have find out other frappe’s background_jobs.py but code is same

Mostly it happens when there’s an issue with the background job’s method path or with the import of required methods or utilities in the script.

For enqueue, make sure you are specifying the fully qualified path of the method (e.g., path.to.your_method).

Ensure the method you’re passing to enqueue is available within the scope and is defined properly.

See, if clearing any cached information about background jobs is helpful.

Check worker.log

#RespectQuestion #EncourageNewUser