Okay
  Public Ticket #3130318
NOTIFICATIONS PROBLEMS
Closed

Comments

  •  1
    claudia started the conversation

    Hi

    I have a problem, none of my customers receive my personalized notifications anymore now this problem has been going on for a few weeks.

    They only receive the basic ones from Amelia, to understand those created by you pre-loaded.

    Then I need another clarification, if I have a whatsapp business number I cannot enter it in the process of setting up notifications with whatsapp otherwise I will no longer be able to use it from the phone?

    So to get Amelia's notifications on whatsapp for customers, do I have to buy another number dedicated to that?

    I await your kind reply.

    Thanks Claudia

  •  1,339
    Marko replied


    Hello Claudia,

    Thank you for reaching out to us.

    Are you not receiving custom notifications that you have created or scheduled notifications that are sent via cron - reminder - follow up, etc?

    Yes, it would be best to get a separate number for WhatsApp for Amelia. 

    Looking forward to your reply.

    When you have several questions or issues, please open a new ticket, and we will help you there. In that way, issues and questions which are related to different subjects will be in separate tickets so other customers or our support agents can find them easily. 

    Our policy is to have one issue or question per ticket because of the reasons that are described already.

    Thank you for understanding.


    Kind Regards, 

    Marko Davidovic
    [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

  •  1
    claudia replied

    Hi Marko,

    sorry for the double request I did not know, the next times I will always separate them thanks anyway for replying.

    For the problem of notifications, they are the scheduled ones that are sent through the cron, I know that these things are not exactly internal to Amelia, but they are configured through WP Crontrol and have always worked until a few weeks ago.

    So I wanted to understand if you have changed anything and why it doesn't work anymore and I need to make some changes so that they will work again.

    A thousand thanks

    Claudia

  •  1,339
    Marko replied


    Hello Claudia,

    No worries. No, we never change anything about it. When that happens, it's an issue with your hosting provider, something has changed with them on your server.

    We will try to help you as best we can but Cron is not Amelia's feature cron is a WordPress feature. You can use cron with Amelia, but setting cron is not part of Amelia's support because it is not our feature. If your cron is not working and you cannot set it up, you need to contact your hosting provider so that they can set up cron for you. Since the changes were made by them automatically probably.

    Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.

    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'

    Or this:

    GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null

    WP Crontrol plugin is the best option if you're not familiar with cron jobs. 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:

    7810032183.png

    Then, go to Tools/Cron Events, and click on the "Cron Schedules" tab. In it, add a 15-minute interval:

    2487877415.png

    Then go back to the "Cron Events" tab and click on "Add new":

    9085918175.png

    Below it, select the "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:

    file_get_contents("yourURL");
    2095163400.png

    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 (local, current time), set it to run at 12:50; and then select the schedule you previously selected:

    7642938415.png

    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.

    I hope that helps in case it doesn't please contact your hosting provider.

    If you have any more questions please open another ticket and we will gladly help you there.

    We wish you all the best.


    Kind Regards, 

    Marko Davidovic
    [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

  •  1
    claudia replied

    Hi Marko,

    I'm doing some testing because I already use WpCrontrol and it was already set in the way you described.

    I also talked to my hosting support but they didn't make any changes and suggested that I set up the corn directly from cpanel on the weekend I'll do some tests to see if it starts working again.

    I Will Update You

    Good day

    Claudia

  •   claudia replied privately
  •  1,339
    Marko replied

    Hello Claudia,

    The only way we test cron is by scheduling the appointment. Also we have done that and Amelia is working fine there is no issues.

    You can test the cron and see if it works this is the command: https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send

    So, to test notification, you need to book an appointment, then simply copy the URL above (just change yourwebsite.com to your domain name) and paste it in another browser window.

    If it say that is sent and you do not get other scheduled notificaitons then I'm we have to insist that the issue is with your hosting provider and that they need to check once again where the issue is and to set it up properly.

    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 which needs to be configured on the server. It is not related to Amelia; Amelia only provides a command for the task that needs to be executed. 

    With that said, please note that configuring a cron job is not included in the provided support for the plugin.

    You can find detailed instructions on our FAQ, and in my response below, but if it still doesn't work for you please reach out to your hosting provider, so they can place the command in your server's unique format (depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link (https://www.taniarascia.com/setting-up-a-basic-cron-job-in-linux/) ).

    We wish you all the best.


    Kind Regards, 

    Marko Davidovic
    [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