when i delete an appointment in google cal it does not delete it in EA

Support forumwhen i delete an appointment in google cal it does not delete it in EA
ernesto_parisii Staff asked 5 years ago
Hi I'm sure that this worked last time when I tested it but now it does not. Whenever i delete an appointment directly in google calendar its not synced back in EA, The appointment remains there.. Its shacky because i'm sure that a few weeks ago it worked. Does anybody know why? Luka?
3 Answers
Nikola Loncar Staff answered 5 years ago
Hi, by default deleted Appointment on Google Calendar are canceled inside EA. Is that the case that you have? Best regards, Nikola
ernesto_parisii Staff replied 5 years ago

Yes that what I was expecting to happen. Last time when I did the test it worked. Appointments which I deleted in GCal where removed from EA. But yesterday as I did the test it did not work anymore. The appointment which I deleted in GCal yesterday is still in EA.. I didn’t change anything on the config ….thank you so much

Nikola Loncar Staff replied 5 years ago

Hi, can you please tell me do you have any warning message regarding WP Cron when you open EA Extension Google Settings?

Best regards,
Nikola

ernesto_parisii Staff replied 5 years ago

You mean the sync log file? it is empty because I set it to error only. now I changed to log everything. I try again and I let you know. Thank you

Nikola Loncar Staff replied 5 years ago

Ok, is your WP Cron connected to system scheduler on your hosting?

ernesto_parisii Staff replied 5 years ago

to be honest I don’t know. It works perfectly when syncing from EA to GCal but back not. And the test I did not I worked, but yesterday it did not. What I see is that the time stamp of the loge file shows 1 hour behind even if my settings in WordPress are right. below the logfile

[2020-01-18 10:11:57.517616] [info] Sync started
[2020-01-18 10:11:57.517831] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘1’,
)
[2020-01-18 10:11:57.520791] [info] Syncing events for Calendar: primary
[2020-01-18 10:11:57.521634] [info] Sync event within next 0
[2020-01-18 10:11:57.656789] [info] Fetched from Google Calendar 2 events
[2020-01-18 10:11:57.659684] [info] Synced events : 1
[2020-01-18 10:11:57.660511] [info] Total sync events : 1
[2020-01-18 10:11:57.661490] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-18 10:11:57.662482] [info] Sync Done
[2020-01-18 10:15:59.224009] [info] Sync started
[2020-01-18 10:15:59.240103] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘1’,
)
[2020-01-18 10:15:59.241276] [info] Syncing events for Calendar: primary
[2020-01-18 10:15:59.242503] [info] Sync event within next 0
[2020-01-18 10:15:59.365308] [info] Fetched from Google Calendar 3 events
[2020-01-18 10:15:59.369283] [info] Synced events : 2
[2020-01-18 10:15:59.370719] [info] Total sync events : 2
[2020-01-18 10:15:59.372132] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-18 10:15:59.374017] [info] Sync Done
[2020-01-18 10:20:59.277756] [info] Sync started
[2020-01-18 10:20:59.277959] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘1’,
)
[2020-01-18 10:20:59.278856] [info] Syncing events for Calendar: primary
[2020-01-18 10:20:59.280695] [info] Sync event within next 0
[2020-01-18 10:20:59.516891] [info] Fetched from Google Calendar 3 events
[2020-01-18 10:20:59.520756] [info] Synced events : 2
[2020-01-18 10:20:59.521548] [info] Total sync events : 2
[2020-01-18 10:20:59.522572] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-18 10:20:59.523782] [info] Sync Done
[2020-01-18 10:26:00.222202] [info] Sync started
[2020-01-18 10:26:00.222440] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘1’,
)
[2020-01-18 10:26:00.223925] [info] Syncing events for Calendar: primary
[2020-01-18 10:26:00.224920] [info] Sync event within next 0
[2020-01-18 10:26:00.354578] [info] Fetched from Google Calendar 2 events
[2020-01-18 10:26:00.358005] [info] Synced events : 1
[2020-01-18 10:26:00.359060] [info] Total sync events : 1
[2020-01-18 10:26:00.361990] [info] Deleted Appointments 1
[2020-01-18 10:26:00.363814] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-18 10:26:00.364826] [info] Sync Done

ernesto_parisii Staff replied 5 years ago

I mean that the test I just did worked, but yesterday it did not. Synching from EA to GCal worked always but not back.

ernesto_parisii Staff answered 4 years ago
Hi Nikole. today the sync back from google calendar is again not working. I noted that if this feature is not used for a while it just stops.As i described above it is very shaky. what do you suggest? creating a extra crontap? If yes what is the command`?
Nikola Loncar Staff answered 4 years ago
Hi Ernesto, I am not sure how can you not use that function. Cron should run all the time. Maybe token expire but then it will not work in both directions. Do you have WP Cron connected to your system scheduler on hosting? Best regards, Nikola