I have a question regarding the scheduled notifications. You recommend setting it up via sever side cronjobs.
Even though there might be detriments to it, we'd highly prefer to use the inherent wp_cron.php option. Is this possible for Amelia, what changes are required? We need this for 800+ sites so we'd like to find a general solution.
sounds great. Can you point me in the direction in how exactly this ist supposed to work? Is it possible to add the URL manually, or is there a custom function script we have to implement via editing the wp_cron.php?
I haven't used that, so I wouldn't know exactly. I'm sure, though, that there are instructions on the documentation of the plugin you're using.
The URL that needs to be forwarded is located under all scheduled notifications in Amelia/Notifications (it's only one URL, but it's repeated below each scheduled notification):
If you set the cron, so it runs every 15 minutes, it checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example - in the plugin that you use), the emails will be sent when the cron runs after that time.
For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.
Hello there,
I have a question regarding the scheduled notifications. You recommend setting it up via sever side cronjobs.
Even though there might be detriments to it, we'd highly prefer to use the inherent wp_cron.php option. Is this possible for Amelia, what changes are required? We need this for 800+ sites so we'd like to find a general solution.
Best wishes
Hello there
I suppose you want to use https://developer.wordpress.org/plugins/cron/ plugin for sending notifications.
That is definitely going to work, since the URL we created is being triggered through an actual cron on the server, and the plugin is using system's (WordPress' wp_cron.php), where you need to pass our URL. So, you need to only include the URL found under a scheduled notification. For example https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send
Kind Regards,
Aleksandar Vuković
[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 Aleksandar,
sounds great. Can you point me in the direction in how exactly this ist supposed to work? Is it possible to add the URL manually, or is there a custom function script we have to implement via editing the wp_cron.php?
Kind regards
I haven't used that, so I wouldn't know exactly. I'm sure, though, that there are instructions on the documentation of the plugin you're using.
The URL that needs to be forwarded is located under all scheduled notifications in Amelia/Notifications (it's only one URL, but it's repeated below each scheduled notification):
If you set the cron, so it runs every 15 minutes, it checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example - in the plugin that you use), the emails will be sent when the cron runs after that time.
For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.
I hope that helps.
Kind Regards,
Aleksandar Vuković
[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