Closed mohaaosman closed 1 year ago
If the device, where whatsapp is installed, is not online within 72 hours whatsapp, and the web becomes online, it disconnects automatically. What I do here is restart every day via cron Or you can also use npm restart.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
After a few days, the WhatsApp instance stops responding sometimes it's stuck on "connecting" or "connected" without any response. The only ways you can enable it is to delete and add again or restart the server.
Is there a way I can monitor the instance and watch if the variable is still in the session array, that way I can restart it without deleting or restarting the app?