Booknetic
search
Buy now - $79 Buy - $79

Cron Job

How to configure a Cron Job on WordPress

What is a Cron Job?

A Cron job is a task that is scheduled to run at a specific time automatically. For example, a Cron job can back up a file every six hours automatically.
Booknetic uses the standard WordPress Cron Jobs for sending reminder messages. The default WordPress Cron Jobs might cause delays for sending reminder messages. Because, by default, WordPress does not use a real Cron job. Instead, whenever a page is loaded on a WordPress site by any user, WordPress runs the Cron Job Tasks. If nobody visits your WordPress site, your tasks will not run. As a result, your messages will delay.

To resolve these issues, you should disable the default virtual WordPress Cron Job, and configure a real Cron job. To do this, follow the instruction below:

1. Add the following line to the wp-config.php file:
define('DISABLE_WP_CRON', true)

2. Go to Email notifications > Reminder before appointment and copy the command below

cron job notifications

3. Login to "CPanel" and find the Cron Jobs

cron job notifications cpanel

4. And paste it to the proper textbox on Cron Jobs. Make sure everything is the same with the picture. If you want the messages to be sent at the exact time you defined, you need to set the Cron Job every 15 minutes.

Booknetic Cron Job

Please consider that choosing a proper Cron Job interval can change according to your sync choice. 

Wordpress appointment booking plugin

Booknetic is a simple yet powerful plugin for accepting online bookings & payments on your WordPress site.

Buy now - $79 arrow-right