Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #2199213
sms notification
Closed

Comments

  •  1
    Jérôme Trehin started the conversation

    Hi

    SMS notification the day before an appointment are not working

    I couldn't make a cron task

    how ti sovle this problem?


  •  2,498
    Aleksandar replied

    Hello Jérôme

    For the Appointment Next Day Reminder to work, you have to create a cron job.

    My advice would be to use the WP Crontrol plugin, and then follow these instructions:

    In the Tools -> Cron Events admin panel, click on the “Add PHP Cron Event” tab underneath the cron event table.

    1..png

    In the form that appears, enter the schedule and next run time in the boxes. The event schedule is how often your event will be executed. In the “PHP code” area, enter the PHP code that should be run when your cron event is executed. Please insert this:

    file_get_contents("https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send");

    You don’t need to provide the PHP opening tag (<?php).

    2..png

    Please replace “https://yourwebsite.com” with your real web address.

    If you don’t see a good interval, then add one in the Settings -> Cron Schedules admin panel or click on the link “Manage Cron Schedules”. You will find an example of how you can make custom interval inserting:

    • Interval name
    • Interval(in seconds)
    • Display name

    3..png

    and click “Add Cron Schedules” and it will be added.

    4..png

    When you made custom interval you need to go back to  Tools -> Cron Events admin panel and click on the “Add PHP Cron Event” tab underneath the cron event table where you will insert that custom interval and all other fields that are described above. After clicking on “Add PHP Cron Event” it will be added on Event table and you are done.

    5..png

    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