same day event being removed before it occurs #382
Replies: 3 comments 9 replies
-
I'm not sure why events would be getting deleted before the start time, but I didn't like how events were getting deleted after start time but before end time (e.g. while the event was in progress) when onlyFutureEvents=true. You could try using #217 and set it to 1 day or something short duration like that so you are only syncing a limited set of historical events, but they don't get deleted in "real time". |
Beta Was this translation helpful? Give feedback.
-
We are encountering the same issue: Events are deleted from the Calendar some hours before they actually start. Very hard to reproduce, as it seems to happen randomly and it's nowhere to be found in the Logs that something actually gets deleted - the Events can be found in the Google Calendar trash afterwards. We just have one execution saying: "Fetched 104 existing events from Calendar", and then the next one saying "Fetched 103 existing events from Calendar", but none of these Executions log ""Deleting old event ". Here our config: Any Idea why this could happen? |
Beta Was this translation helpful? Give feedback.
-
This should be fixed as per #437 |
Beta Was this translation helpful? Give feedback.
-
Hi, i have events being removed just a few hours before they actually occur.
Here are my settings. I have only future events set to true, and remove events not found to true.
I dont want to sync previous events. Any way I can sync and have them not be removed until they have passed?
var howFrequent = 10; // What interval (minutes) to run this script on to check for new events
var onlyFutureEvents = true; // If you turn this to "true", past events will not be synced (this will also removed past events from the target calendar if removeEventsFromCalendar is true)
var addEventsToCalendar = true; // If you turn this to "false", you can check the log (View > Logs) to make sure your events are being read correctly before turning this on
var modifyExistingEvents = true; // If you turn this to "false", any event in the feed that was modified after being added to the calendar will not update
var removeEventsFromCalendar = true; // If you turn this to "true", any event created by the script that is not found in the feed will be removed.
var addAlerts = "yes"; // Whether to add the ics/ical alerts as notifications on the Google Calendar events or revert to the calendar's default reminders ("yes", "no", "default").
var addOrganizerToTitle = false; // Whether to prefix the event name with the event organiser for further clarity
var descriptionAsTitles = false; // Whether to use the ics/ical descriptions as titles (true) or to use the normal titles as titles (false)
var addCalToTitle = false; // Whether to add the source calendar to title
var addAttendees = false; // Whether to add the attendee list. If true, duplicate events will be automatically added to the attendees' calendar.
var defaultAllDayReminder = -1
Beta Was this translation helpful? Give feedback.
All reactions