Hi All,
Seems like my scheduler events are not getting triggered.
Steps followed:
- bench --site v13 enable-scheduler
- sudo supervisorctl restart all
- bench doctor
Results :
-----Checking scheduler status-----
Workers online: 3
-----v13 Jobs-----
4.bench console
5. frappe.cache().get_value(‘scheduler_events’)
Results: none
Suggestions please.
2 Likes
1.frappe.get_hooks()[“scheduler_events”] lists down the cronjob as follows
{‘cron’: {
The standard jobs,
‘* * * * *’: [‘hr_customizations.attendance_request_changes.leave_allocation.allocate_earned_leaves’]},
- My custom app directory is as follows:
3.Scheduler logs as" DEBUG scheduler Queued events for site v13"
4.bench execute hr_customizations.attendance_request_changes.leave_allocation.allocate_earned_leaves works fine.
5.Do i need to change custom apps → hooks.py → scheduler_events?
2 Likes
11135
4
You must perform bench migrate
3 Likes