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:
Reminders & Surveys URL:
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.
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
or&task=cron.cron&format=raw"
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: