Hi guys, I want to execute a python file in a specific time like 4:20 PM (or some other time) and this is what I did in my hooks.py under scheduler_event but its not working!:
I already tried this one and it worked fine:
Please help me with this. Thanks!
Maybe your schedule is not enable,
try “bench enable-schedule” or go rto your erp setup → system settings → and check the enable schedule.
Thanks for your reply @Thiago_Henry
I already enabled the scheduler through “bench enable-scheduler” and I already tried this one:
and the scheduler worked fine. This is every minute, my problem is when i set the scheduler to specific time.