Scheduler is not working [Solved]

Hi All,
I have written a function for sending an email to user however the function is working perfectly when I call it via Custom Script, but its not working when I run it via Hooks through scheduler.

scheduler_events = {
	"all": [

Does anybody have an idea about this?

Edit: Even, I don’t see any error in the Scheduler Too
Ruchin Sharma

Hi Everyone,
It is resolved now.
Actually, I checked on the Forum that if there is a lock file:


Then you just have to delete that file and do a

bench restart

and it will perfectly work.

Ruchin Sharma