I created a custom application in Frappe and there I registered a funtion in cron of scheduler_events in the hooks.py which has to run every minute.
now that when i migrated the job did apperead in the Scheduled Job Type and when i mannuly execute it, works perfect but it does not run automatically.
my scheduler is on for the site for which i wrote the above function.
I have searched a lot and tried every possible solutionn but I don’t know why it is not automatic.
This is my site_config.json
{
"db_name": "",
"db_password": "",
"db_type": "mariadb",
"developer_mode": 1,
"domains": [
{
"domain": "",
"ssl_certificate": "",
"ssl_certificate_key": ""
}
],
"encryption_key": "",
"maintenance_mode": 0,
"scheduler_enabled": 1,
"pause_scheduler": false
}
and the hooks.py file
scheduler_events = {
"cron": {
"* * * * *": [
"my_full_function_pathh"
]
}
}