I have created a button say ‘Start’ in a Custom DocType, now what this button does is when I click on Start it picks some leads meeting few conditions and assign those leads to some user meeting user condition. Till here all is good and working fine.
Currently, I have to run/click on that button manually every time I have to perform this action. Is there any way to repeat/auto trigger that button after every 5/10 minutes?
If NOT what could be a possible feature of the same and what will be the cost of Sponsoring?
To add a new task handler, go to hooks.py and add a new handler. Default handlers are all, daily, weekly, monthly, cron. The all handler is called every 4 minutes by default.
I want handler to call a button which is part of CustomDoc and function for that button is written in Custom Script from front end.
Can I call/run that button every 5/10 minutes automatically function for which is written in custom script.
Will this continue to run (Auto Button = btn_auto) even after I have closed the page or I am on another page or I am even not logged automatically like Cron through Front End.
Will this continue to run (Auto Button = btn_auto) even after I have closed the page or I am on another page or I am even not logged automatically like Cron through Front End.
I think you must use hooks.py (in your app), can not use Custom script do it.