Bookly uses the WP-Cron functionality to send scheduled email and SMS notifications. Unlike regular cron jobs, which run at a specific time based on the server settings, the WP-Cron function runs every time someone visits the WordPress powered website. This means that if no one visits your site, then Bookly reminders will not be sent on time, but will be sent only when someone has visited your site. That’s why you should configure the regular hourly cron job command on your server to initiate the WP-Cron script.
Configure cron command via the hosting control panel
Usually the cron jobs can be configured in the hosting control panel. Open your hosting control panel, find the “cron jobs” link, create a new cron job, add this command and configure it to hourly execution:
wget -q -O - https://your-site-name.com/wp-cron.php
Do not forget to replace your-site-name.com to your real site name.
Read the documentation for some popular hostings:
- GoDaddy https://www.godaddy.com/help/create-cron-jobs-16086
- Bluehost https://my.bluehost.com/hosting/help/411
- HostGator https://www.hostgator.com/help/article/how-do-i-create-and-delete-a-cron-job
- SiteGround https://www.siteground.com/tutorials/cpanel/cron-jobs/
If you have any troubles with configuring the cron job command, please contact your hosting provider support team.
Configure cron command on a linux-like OS
Please follow this Wiki article to set up cron job on a linux-like OS or contact your system administrator to assist with this matter.
What if my Hosting doesn’t know how to configure cron jobs?
If you have any trouble with cron, you can use third-party services for this need. For example, you can use this one for testing and it's free: https://cron-job.org/en/
You should setup this service to call your wp-cron URL: https://your-site-name.com/wp-cron.php
It will initiate the cron script that must be set to be executed hourly. Do not forget to replace your-site-name.com with your real site name.