Hey everyone!

With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:

Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.

We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.

In the meantime, if you need help, feel free to:

https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos

https://www.youtube.com/@wpDataTables/videos

Thank you for being so understanding, and we hope you enjoy the long weekend! 

Okay
  Public Ticket #2768256
CRON JOB
Closed

Comments

  • Wilkenson started the conversation

    Cron job not executing in Google Cloud Wordpress site.


    Added cronjob to crontab via ssh using crontab -e command. 

    Cronjob appears with crontab -l. 


    Any idea how to fix? 

  • Wilkenson replied

    ive tried using 
    */15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"


    and 


    */15 * * * * https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send


    and 


    */15 * * * * curl https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send

  • [deleted] replied

    Hi Wilkenson,

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

    Also, since you tried this one:

    */15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"

    You can try this now:

    */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

    If that doesn't help you, you can try with the WP Crontrol plugin. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.

    If nothing of the above helps, please contact your hosting provider and ask them why these solutions don't work and how to set a cron for Amelia on your website.