Okay
  Public Ticket #2509386
Scheduled emails - when exactly are they sent?
Closed

Comments

  •  3
    Daniel started the conversation

    I recently completed the scheduling setup for next-day reminders using WP Crontrol. So far, I haven't actually seen any next-day reminder emails get sent for my test appointments!

    Could someone please clarify for me exactly when next-day reminder emails are supposed to be sent, for any given appointment?

    For example, let's suppose the following two appointments are scheduled:

    • August 20th - 2 pm
    • August 20th - 6 pm

    Would the expected times for these appointments' corresponding next-day reminder emails look like this?

    • August 19th - 2 pm (within 15 minutes)
    • August 19th - 6 pm (within 15 minutes)
  •  3
    Daniel replied

    Update: I have just received all of the reminder emails that I was expecting to see, so my notification emails are working well!

    To answer the question I asked in my first post: I see that appointments at different times within the same day do not result in notifications being sent at different times during the previous day. It seems that all notifications, even for appointments at different times, are sent at the exact same time.

    Could someone please explain to me how Amelia determines exactly what time it should send reminder emails for the following day?

    My test emails all show as being received at 6:32 pm PDT (I am based in Vancouver); however, the WordPress installation that Amelia is installed on is set to a time zone one hour ahead of mine as it will be used by a business in Calgary. According to Calgary time, the notification emails were sent at 7:32 pm MDT.

    Perhaps neither of those two time zones are relevant here and all that matters is GMT! If that is the case, then my reminder emails were sent at 2:32 am GMT, although that wouldn't make much sense as it would mean that the reminder emails were sent the same day as the appointments (which would be too late for next-day reminder notifications), so I'm guessing GMT isn't used here.

    I couldn't see any mention of this in the documentation, so if someone could explain the logic behind the exact timing that notification emails are triggered, it would be much appreciated.

    My guess is that, as Amelia is fully aligned with and follows the global WordPress configuration with respect to Date/Time settings, it was thinking "7:32 pm MDT seems like a good time to send out all of tomorrow's reminders to customers!"

    If this is indeed the case, is the time that notifications are sent configurable at all?

  •  2,572
    Aleksandar replied

    Hello Daniel

    I'm glad to hear everything is working well.

    Depending on the interval you set your cron job to run, the scheduled notifications will be sent on time defined in Amelia, or a bit later.

    For example, you set up scheduled notifications to be sent at 16:00 (in Notification itself, in top right, above the template), and your cron runs every 15 minutes. When it runs at (for example) at 15:55, no notifications will be sent, but when it runs at 16:10 (15 minutes later), the cron will send all notifications scheduled for 16:00.

    Amelia doesn't have any time zone settings, it inherits the time zone from WordPress. If your time zone is in UTC+/- format, please change it by selecting the city near you. Also, please check if you enabled "Show bookings in customer's time zone" in Amelia's General settings.

    Since you are in a different time zone than your WordPress site is, and you probably enabled this option, the times on front-end will show available time slots in your time zone, which will be the time you set in back-end +/- the time difference (depending on where you are in regard to the time zone set in WordPress' General settings).

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  3
    Daniel replied

    Hi Aleksandar,

    In WP Crontrol, my cron event is set to run at 15-minute intervals:

    1GTQ7oj.png

    In Amelia, my reminders are scheduled for 17:00:

    WiKOlRx.png

    Any idea why my reminders seem to have been sent at 19:30 instead of 17:00?

    It's just a small discrepancy but I'm still curious about it!

  •  2,572
    Aleksandar replied

    Hi again Daniel

    If you can verify the time zone is correct in your WordPress General settings, I really wouldn't know.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. 

    You can write credentials here just check Private Reply so nobody can see them except us.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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