Documentation

Find documentation for our Joomla extensions on this page.

Cron URLs of Easy Services Booking

1 - Cron Job Links

Here cron job urls that you should to synchronize Google calendars and to send reminders and surveys.

Google Calendar Sync URL: 

https://yourdomain.com/index.php?option=com_easyservicesbooking&task=cron.sync&google_cal_sync_secret=yourgooglecalsyncsecret&format=raw

 

Reminders & Surveys URL: 

https://yourdomain.com/index.php?option=com_easyservicesbooking&task=cron.cron&format=raw

 

2 - How to setup cron job

Step 1: Log in to your cpanel. Normally cpanel can be accessed using www.yourdomain.com/cpanel. Your host may have configured a different address for cpanel so if this doesn’t work check with your host.

Step 2: Open the Cron Jobs menu item under the Advanced tab in your Cpanel. The screenshot below shows where this is located.

cpanel1

Step 3: The final step is to fill in the settings to create the cron job. If you would like an email of the success or failure fill in the box that says email with your preferred email address. Under the Add New Cron Job settings you should set these to the following:

  • Common Settings: Once a day (0 0 * * *)
  • Command: curl "https://yourdomain.com/index.php?option=com_easyservicesbooking&task=cron.cron&format=raw"
    or
    Command: curl "https://yourdomain.com/index.php?option=com_easyservicesbooking&task=cron.sync&google_cal_sync_secret=yourgooglecalsyncsecret&format=raw"

 

You can also use the integration with easycron to set these links up automatically.  For information about setting up cron jobs using EasyCron see the knowledge base article How to use Easycron.

NB: If your host is using apache with mod_sec you may need to specify a user agent for curl. You will need to check with your host whether they are using mod_sec. To add a user agent to curl include the following at the end of the curl command.

    -A "Mozilla/4.0"

You can replace Mozilla/4.0 with any other user agent you prefer. The final settings in the Cron Jobs window would look something like:

cron 1

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok