Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
Scheduled notifications can be sent After, Before, or On the same day as the appointment or event. For the After and Before options, it is possible to choose the number of minutes, hours, days, weeks, or months before or after the appointment or event when the notification would be sent. And for the On the same day option, it is possible to choose the time at which the notification would be sent on the day of the appointment or event.
Scheduled notifications require a bit of additional configuration with your server cron scheduler. The command that has to be added can be found on the “Notifications” page when notification that requires scheduling is active. You can recognize these notifications by the clock icon next to the notification name. Copy command and paste it in the cron file. The command looks like this:
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
You can see the more detailed tutorial of how to set up cron at this link.
If you are not familiar with this, you can use the plugin WP Crontrol for creating a cronjob.
First, go to Amelia/Notifications, and click on one of the scheduled notifications. For example "Appointment Next Day Reminder". Below that email template, you will see an info block, that shows what needs to be entered in your server, to configure the cron event. For WP Crontrol plugin, you only need to copy the URL:
Then, go to Tools -> Cron Events admin panel, and click on the "Cron Schedules" tab. In it, add a 15-minute interval.
Now go back to "Cron Events" tab, and click on "Add New".
Below it, select "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:
You don’t need to provide the PHP opening tag (<?php).
Please replace “https://yourwebsite.com” with your real web address.
Set the Event name, and set the next run to be "At", and a few minutes in the future. Select the recurrence (the event you created as the first step, in WP Crontrol - the "every_15_minutes" interval.
-
Let me know how that seems, and if anything was not clear. Thank you.
I am delighted to hear that this has been resolved. Thank you for letting us know. Anything else that we could assist with, don't hesitate to create new tickets.
Hello,
The time limit for sending the "Event follow-up" notification is 24 hours maximum.
I would like to be able to increase this delay to 48h or 72h.
Is this possible?
Quentin
Hi, Quentin
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
Scheduled notifications can be sent After, Before, or On the same day as the appointment or event. For the After and Before options, it is possible to choose the number of minutes, hours, days, weeks, or months before or after the appointment or event when the notification would be sent. And for the On the same day option, it is possible to choose the time at which the notification would be sent on the day of the appointment or event.
Scheduled notifications require a bit of additional configuration with your server cron scheduler. The command that has to be added can be found on the “Notifications” page when notification that requires scheduling is active. You can recognize these notifications by the clock icon next to the notification name. Copy command and paste it in the cron file. The command looks like this:
*/15 * * * * https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send
If that doesn't work, please try with these as well:
*/15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
You can see the more detailed tutorial of how to set up cron at this link.
If you are not familiar with this, you can use the plugin WP Crontrol for creating a cronjob.
First, go to Amelia/Notifications, and click on one of the scheduled notifications. For example "Appointment Next Day Reminder". Below that email template, you will see an info block, that shows what needs to be entered in your server, to configure the cron event. For WP Crontrol plugin, you only need to copy the URL:
Then, go to Tools -> Cron Events admin panel, and click on the "Cron Schedules" tab. In it, add a 15-minute interval.
Now go back to "Cron Events" tab, and click on "Add New".
Below it, select "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:
file_get_contents("https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send");
You don’t need to provide the PHP opening tag (<?php).
Please replace “https://yourwebsite.com” with your real web address.
Set the Event name, and set the next run to be "At", and a few minutes in the future. Select the recurrence (the event you created as the first step, in WP Crontrol - the "every_15_minutes" interval.
-
Let me know how that seems, and if anything was not clear. Thank you.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Thanks you !
Hi, Quentin
I am delighted to hear that this has been resolved. Thank you for letting us know.
Anything else that we could assist with, don't hesitate to create new tickets.
Have a great day!
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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