I'm experiencing issues with the booking reminder cron job on several of my sites. The problem started after a recent version update of the WP Crontrol and Amelia plugin. Specifically, the PHP cron event that sends email reminders became corrupted, leading to the following issues:
Duplicate PHP Cron Events: The same PHP cron event was duplicated, causing both events to become uneditable, undeletable, and unable to be paused. Each event displays a warning message ("needs checking").
Invalid PHP Cron Event Hash: The WP Crontrol error log shows the following message: "The stored hash for a PHP cron event is not valid."
As a result of these issues, I uninstalled WP Crontrol and switched to using cPanel cron jobs to manage the event. The cron job is set to execute every 15 minutes, and the logs confirm that the command is being executed as scheduled.
Current Issue:
Despite the cron job running successfully according to cPanel logs, the 'Track Delivery' section of cPanel indicates that no new emails are being sent from the notification email address to users. According to my hosting support, this suggests that the issue might be within the application itself.
Steps Taken:
Uninstalled WP Crontrol, disabled the wp-cron and created a new cron job in cPanel (*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send') or (*/15 * * * * wget -q -O - "https://example.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send").
Verified that the cron job is executing every 15 minutes.
Checked 'Track Delivery' in cPanel, which shows no new emails being sent.
Request:
I need assistance in resolving this issue to ensure that email reminders are delivered correctly. The issue seems to be related to the application itself, given that the cron job is running but no emails are being sent.
Please let me know if you need additional information or access to the error logs.
For any issue with cron reminder notifications you must reach out to your hosting provider so that they can try out ne configurations.
We can only help with regular notifications and if they are working proeprly there is nothing for us to look since cron is set on the server not in Amelia.
We had several dozens of cases where cron was showing as sent but noting was delivered so a hosting provider had to try out several configurations until they find that works. For example these ones. Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
Setting reminder notifications on the server is not covered by our support so if regular notifications are working this is not an issue with Amelia since all notifications are using same settings. ANd if only cron is not working your hosting provider must check this out and set it up for you.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
I've resolved the cron job issue. I had to manually type the command instead of copying and pasting it from the screen. Only the wget command works on cPanel.
We are glad to hear that you resolved this issue and should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
Hi,
I'm experiencing issues with the booking reminder cron job on several of my sites. The problem started after a recent version update of the WP Crontrol and Amelia plugin. Specifically, the PHP cron event that sends email reminders became corrupted, leading to the following issues:
As a result of these issues, I uninstalled WP Crontrol and switched to using cPanel cron jobs to manage the event. The cron job is set to execute every 15 minutes, and the logs confirm that the command is being executed as scheduled.
Current Issue:
Despite the cron job running successfully according to cPanel logs, the 'Track Delivery' section of cPanel indicates that no new emails are being sent from the notification email address to users. According to my hosting support, this suggests that the issue might be within the application itself.
Steps Taken:
Request:
I need assistance in resolving this issue to ensure that email reminders are delivered correctly. The issue seems to be related to the application itself, given that the cron job is running but no emails are being sent.
Please let me know if you need additional information or access to the error logs.
Regards,
Giam
Hello there,
Thank you for reaching out to us.
For any issue with cron reminder notifications you must reach out to your hosting provider so that they can try out ne configurations.
We can only help with regular notifications and if they are working proeprly there is nothing for us to look since cron is set on the server not in Amelia.
We had several dozens of cases where cron was showing as sent but noting was delivered so a hosting provider had to try out several configurations until they find that works. For example these ones. Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
Also, you can try this:
*/15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
Or this:
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
Or this:
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
Setting reminder notifications on the server is not covered by our support so if regular notifications are working this is not an issue with Amelia since all notifications are using same settings. ANd if only cron is not working your hosting provider must check this out and set it up for you.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
Kind Regards,
Marko Davidovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi,
I've resolved the cron job issue. I had to manually type the command instead of copying and pasting it from the screen. Only the wget command works on cPanel.
Thank you for your assistance.
Regards,
Giam
Hello again,
We are glad to hear that you resolved this issue and should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
Kind Regards,
Marko Davidovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables