Intermittent Duplicate Notifications from CRON
-
Firstly, thank you for this great Plugin.
Intermittently, when a “New Post Published” campaign notification is triggered, duplicate new post notifications emails are being sent to subscribers and duplicate “Cron URL has been triggered” emails to admins.
My Cronjob has been setup to run every 15 minutes:
*/15 * * * * curl –silent “https://rachelebrooker.uk?es=cron&guid=??????-??????-??????-??????-??????” > /dev/null 2>&1– The duplicate emails are sent within a second of each other.
– I can see in my syslog file that the cronjob only ran once.
– ES Reports shows emails status “Sent” against recipients, the recipients aren’t duplicated in the report.
– I have installed a “Log Emails” plugin which indeed shows that duplicate emails were sent from WP.
– I am using the WP Mail SMTP plugin connected through Mailgun. Mailgun logs shows duplicate emails being sent.The WP blog is running on a Google Cloud Platform – linux-debian-9-x86-64
I was a little unclear as what to setup in the ES “Email Sending” settings as I am using CRON, in particular “Send Emails At Most Every”. At the moment I have set as follows:
Disable WordPress Cron – unchecked
Send Emails At Most Every – 20 mins
Maximum Emails To Send In An Hour – 300
Maximum Emails To Send At once – 100
This problem is only happening about 50% of the time “New Post Published” campaigns are triggered.
Any help or guidance on how to resolve this would be much appreciated.
- The topic ‘Intermittent Duplicate Notifications from CRON’ is closed to new replies.