Exit the Client Ready event
Good evening, I have a js script which is used for a cron task, so I would like it to stop by itself after execution, but I use the ready event, and the script continues to run even after the commands have finished.
Is it possible to stop the script after the end of the code in the event ready?
Thank you in avance !
Is it possible to stop the script after the end of the code in the event ready?
Thank you in avance !