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:
You can see a more detailed tutorial on how to set up cron at this link. The configuration can vary depend on the server you have, so you can ask your hosting about how to setup a cron on your website/server.
If you are not familiar with this, my suggestion is to use the plugin WP Crontrol for creating a cronjob for Amelia on your website. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
Zoom links can be sent in Amelia Notifications, if you add the placeholders for Zoom links to the notifications. You will find the placeholder for Zoom in the Placeholders list, when you click on the </> Show Email Placeholders on the Amelia -> Notifications page.
I'm so sorry, but none of this helped me. I tried to do this myself and I ended up getting a splitting headache. I'm not sure why this is necessary to do in the first place and why it isn't already configured with the plug-in. The directions had me going in circles. Please help me.
cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.
These are configured on your server, so this is why they can't be already configured in the plugin itself, unfortunately. Depending on the server, there are different configurations for the cron.
WP Crontrol plugin is the best option if you're not familiar with cron jobs or if this doesn't help reach out to your hosting and ask them if cron is possible on your server and what is the needed configuration.
Regarding the mentioned plugin, you can find more info about it, and detailed instructions on how to set it up in our FAQ section.
So, if you already read that, and still need some clarification here's some further info.
You copy only the URL from below a scheduled notification:
Then, in Crontrol go to "Cron Schedules", and scroll all the way down. Add a 15 minute interval:
Then go to "Add PHP Cron Event" and add the URL you've copied like this:
So:
file_get_contents("yourURL");
Below it add the name, and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45, set it to run at 12:50; and then select the schedule you previously selected:
Click on Add Event, and that's it.
The cron runs every 15 minutes, and 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), 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.
What does this mean?
To send this notification please add the following line in your cron:
*/15 * * * * https://horizonbridal.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send
Also, does the program send the zoom link to the attendees the day of? How does that work?
Hello Alyson Melhus,
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
You can see a more detailed tutorial on how to set up cron at this link. The configuration can vary depend on the server you have, so you can ask your hosting about how to setup a cron on your website/server.
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'
If you are not familiar with this, my suggestion is to use the plugin WP Crontrol for creating a cronjob for Amelia on your website. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
Zoom links can be sent in Amelia Notifications, if you add the placeholders for Zoom links to the notifications. You will find the placeholder for Zoom in the Placeholders list, when you click on the </> Show Email Placeholders on the Amelia -> Notifications page.
You can read more about notifications here https://wpamelia.com/notifications/
Hi Marija,
I'm so sorry, but none of this helped me. I tried to do this myself and I ended up getting a splitting headache. I'm not sure why this is necessary to do in the first place and why it isn't already configured with the plug-in. The directions had me going in circles. Please help me.
Thank you,
Alyson
Hi Alyson,
cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.
These are configured on your server, so this is why they can't be already configured in the plugin itself, unfortunately. Depending on the server, there are different configurations for the cron.
WP Crontrol plugin is the best option if you're not familiar with cron jobs or if this doesn't help reach out to your hosting and ask them if cron is possible on your server and what is the needed configuration.
Regarding the mentioned plugin, you can find more info about it, and detailed instructions on how to set it up in our FAQ section.
So, if you already read that, and still need some clarification here's some further info.
You copy only the URL from below a scheduled notification:
Then, in Crontrol go to "Cron Schedules", and scroll all the way down. Add a 15 minute interval:
Then go to "Add PHP Cron Event" and add the URL you've copied like this:
So:
Below it add the name, and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45, set it to run at 12:50; and then select the schedule you previously selected:
Click on Add Event, and that's it.
The cron runs every 15 minutes, and 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), 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.