We rebuilt our website from scratch and are still updating some extensions and pages. Having a problem? Sign in and open a support ticket or contact us.
JoomBoost

Cron jobs

Reminders, surveys and Google Calendar sync run when a URL on your site is called. A cron job on your server, or a service such as EasyCron, calls these URLs on a schedule.

Before you start

  1. On the Google Calendar Settings tab of the Configuration page, enter a Google Cal Sync Secret: a long random text, letters and numbers only. Both URLs need it, also when you do not use Google Calendar. Save.
  2. For reminders and surveys, set Enable CRON to Yes on the Integration Settings tab.

The URLs

Copy the URLs from the Configuration page: Your Reminders & Testimonials Cron URL is on the Advanced Settings tab and Your Google Sync URL on the Google Calendar Settings tab. They look like this:

Job URL How often
Reminders and surveys https://www.example.com/index.php?option=com_easyservicesbooking&task=cron.cron&google_cal_sync_secret=YOURSECRET&format=raw Once a day or more, for example every hour
Google Calendar sync https://www.example.com/index.php?option=com_easyservicesbooking&task=cron.sync&google_cal_sync_secret=YOURSECRET&format=raw Every 5 to 15 minutes

Keep &format=raw at the end. Without it the URL does not work.

If you change the secret, update every cron job. A URL with a wrong or missing secret returns "Invalid secret" and does nothing.

Set up a cron job in cPanel

  1. Log in to cPanel and open Cron Jobs under Advanced.

  2. Choose how often it runs, for example Once Per Hour.

  3. In Command, enter:

    curl -s "https://www.example.com/index.php?option=com_easyservicesbooking&task=cron.cron&google_cal_sync_secret=YOURSECRET&format=raw"
  4. Click Add New Cron Job.

Some hosts block requests without a browser user agent. If the job fails, add -A "Mozilla/5.0" to the curl command.

Check that it works

Open the URL in your browser. The reminders URL shows "Easy Services Booking Cron Handler". If cron is off it shows "Cron is not enabled on this installation". The sync URL shows "Google Calendar Sync Scheduled Task" and the sync steps, or "Sync not enabled" when Google Calendar is off.

All Extensions