Okay
  Public Ticket #2728707
About message for remenber buyers about their service
Closed

Comments

  • Gonzalo Sebastian started the conversation

    Hi i was testing on one of my subdomains the part of notification and I was not able to make WP Amelia to send the notification about "Reminder" So I would like to know if someone of you can help me with it. I was trying, fighting with the corn and so on, but i really was not able to setup it. I see a video tutorial of you but I can not do it, need something more specific. Also i see the documentation but Still have problems. Hope you can help me

  • [deleted] replied

    Hi, Gonzalo!

    Thank you for choosing Amelia.

    Yes, sending Reminder notifications requires a special setting named cron.

    Cron is a Linux utility that 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 used to automate repetitive tasks like in our plugin for notifications.

    If you’re not familiar with setting up crons, I would recommend to use the Crontrol plugin since it makes the process way easier. For that, please follow the steps below:

    Please install the WP Crontrol plugin on your WordPress.

    Copy only the URL from below a scheduled notification on Amelia -> Notifications page (don't copy this */15*** part, only the part that marked on the screenshot which is starting with http):

    rcUl0RkgORQpUDswVlcnJK8hEUJ59pv1FdYgy94-W656S6sSNbq2l6vV6C7ymxm_pEfhd0HMHB4yX_e-XzgpgyR90PCESIkq3boPFV6Wj7s7aKYdeem_v1gsuH_u7souEs7g7_Bj

    Open the Crontrol plugin on the WP Plugins page, that what you will see:

    Y4qoNAFMkOSRAbfhY_mhJKiPxxSxJ_fUnw9_EHWyUxyhDLueanQgdqhCjCEbz5FDKCpL5JrJErnuyKMK2n3W_1Bd5b3fhIKc8wmYMlJvKXB6cks86K-rg5I3NQATeibIfxCGE3MC

    Click on "Cron Schedules", enter the following details, and click on "Add Cron Schedule":

    mCrtRIH4vG-WAflM8u6Z18g2g10bNDt4bBhjdfTE6qU1YlZP7e8rnTh6uJpNYbAyPFD32eXXf3JPI5AAMgQ5O5BuM8RBLV9I4artn9fHWKc6qM2VSqqbb9edkrxNhpppp1WM8JcX

    Then go to "Cron Event" and add the URL you've copied from Amelia -> Notifications page to this:

    file_get_contents("your copied URL"); 

    Please don't miss any symbols, especially the ; in the end. So it will look like this:

    mGBYzNzm34zObWRrmCoKqAYVw2yBrOoNS5Gfy2w8dra7MB3KSLKW8ygHE3zDF9U6aBXBMkA7HW4ILy33IvHgkAUeY0Gm0n382nDDTWbzoz_N8X65KrX5qSxVE0XPAEWvSX6Fq0An

    Below it, add the name and set Next Run to your current time + 30 muns (for example, at 12.50):

    RJZEHyQVp3-rNyGLZylxw9yF1i6_67ShZOgWuGUycMM48jCJ4Be-Plv4NkJSDsWoemmybnWyXzwVGKHZZG7mqUrJwanAsB0TUgPbuwlDMgVJC7QK4m_8sBJJ9jFq81LkOP4RDJ1W

    Click on "Add Event".

    After that, you can open Amelia, book a test appointment for the next day, set the Next Day Reminder notification to a bit later time that you set Next Run for (in my example, it's 13:00), and see if you receive a Reminder notification in about 30 mins:

    dkzSi-jcfiWHKQxCU0WbmTW-RUAM95_W6dvFHjaS18kZdqlGoHmQRGyibYlPIoVuK6pQ9n8RULaBG2jVp7PNx09VTSrojWrq8Pe6qEYD3RQKCM5OFBgQTGC3gt_IuNVxNasFfnPr

     

    Hope that will help.

    Best Regards.