Initial data:
- Shop on Joomla
- Parser written in php
Task: a button is created in the admin panel that should launch the parser. Since the parsing takes a long time (several hours), you need to run it in the background so that the browser can be closed. When you click on the button from the admin panel again, you should throw on the page with the indicator, they say, the process is already running, wait.
Ideally, if the crown is already running, then the indicator should also display this.
How to do it all?