Support forumCategory: BugsNot working to G Calendar, (from EA to G Calendar does)
roman_lipka asked 9 months ago

Hello,
When somebody create event on website in Easy Appointments, it is nicely synced to Google Calendar.
But when I create custom event in Google Calendar, that time in Easy Appointments is still available.
I am creating events with start and end time. I have settled time zone and everything. You can compare it with screenshots. 
 
Created by Easy Appointments – Working:
Created by Easy Appointments - working
Custom created in Google Calendar – Not working in Easy Appointments
Custom created in Google Calendar - Not working in Easy appointments
Here, you can see that 18. september thru time 10:00 to 12:00 is still avaible in EA. It should be blocked.
Available dates that should be not available
 
Please, can you help me? I really don’t know what to do :(.

roman_lipka replied 9 months ago

Can be problem with this error?

Your Cron is running inside WordPress! Please consider setting Cron to run from System Task Scheduler! By doing that all background task are going to execute on time and without any limitation. Please follow official WordPress guide on Hooking WP-Cron Into the System Task Scheduler.

Link which that error is linked to is not working (404). I asked my hosting admin and they said that they don’t see any Cron task.

Nikola Loncar Staff replied 9 months ago

Hi, yes that can be a issue there. Keep in mind that sync take time, in your case 5 minutes. Also if nobody visits your site cron task will not execute, that is the reason why you need to connect to system scheduler. How to do that for EA : https://easy-appointments.net/documentation/connect-system-scheduler-cron/

Best regards,
Nikola

roman_lipka replied 3 months ago

Thank you for that link, I tryed that with hosting support help but they don’t know either. 5 minutes interval is okay.

I added that disable command onto wp-config, error about cron has disappeared:
https://masokombinat.com/wp-content/uploads/2020/02/disable-wp-cron.png

On that tutorial is not this options, so I tried both of them:

1. Url (wget)
https://masokombinat.com/wp-content/uploads/2020/02/url-wget.png

2. or run PHP 7.2 (there is variations of PHP versions from 5.3 to 7.4)
https://masokombinat.com/wp-content/uploads/2020/02/runphp.png

Neither of them is syncing back from Google Cal to Easy Appointments

Please can you help me? I really need to get working syncing back from google calendar 🙁
If you don’t know from this settings, is it possible to give you admin pass to look for yourself?

Thank you very much.

2 Answers
roman_lipka answered 9 months ago

And here is settings:  
Easy Appointments settings

Nikola Loncar Staff replied 9 months ago

This is looking fine I would suggest to follow that cron guide and connect it to system scheduler.

Best regards,
Nikola

roman_lipka replied 3 months ago

Thank you, I added screenshots from cron settings in upper post

Nikola Loncar Staff answered 3 months ago

Hi Roman,

can you please tell me is there any notification message on top on EA Connect > Google settings?

Also can you turn on log level for all messages, you have it at bottom of that settings page. And then paste here log records.

Best regards,
Nikola