I’ll leave this question open, but I assume it’ll be done with Javascript and PHP backend scripts.
What I want to do is have a script that does the following
1. Allows only one instance to run (i.e not via multiple tabs, or via device and desktop2. Has a timer of some sort to perform an event every 5minutes, one that doesn’t reset every time you refresh your browser.3. Want to NOT start the next interval until instructed, for example, when my the interval has ended, something is done (modal opens for example), nothing more can happen until it’s started again by clicking a button as an example.4. If the page is refreshed during this dwell time between intervals the modal just opens.
Long term progress will be stored in a database so when a user logs back in, it needs to start again from where they left off.
Any kind of help on this would be great.
Even points on how to professionally do steps 1 and 2 or do I need something advanced like Java?