I am using Advance Cron Manager in wordpress for cron, but my cron removes after some time 24-48 hours, I am unable to detect what causing this. I have checked the code and paseted below from my custom plugin. I am using whatsapp chat-api to detect if there is new message received/sent to whatsapp, I am using emails to sent whatsapp message once new email is sent with certain headers, it will hit below function and sent message to whatsapp.
To check this I have scheduled a cron new_email_event after every 1 minute, sometimes it workes ok but some time it removes after 10 minutes.
I want to know is this an issue with plugin or I am missing something.