Given a subscribed calendar with a url like
https://example.com/example.ics
To force Google Calendar to refresh and reload the contents right now, unsubscribe from the calendar and subscribe to a new calendar with a URL like
https://example.com/example.ics#1
Adding the anchor tag will force Google Calendar to think of it as a new calendar
Many people who come to this gist are not looking for a one time forced refresh but instead to refresh recurringly. If that's you, you should check out @derekantrican 's Google App Script
https://github.com/derekantrican/GAS-ICS-Sync
Which can refresh a calendar automatically every N minutes
Thanks to @rattrayalex for pointing people to this script
When I use the anchor tag (#1) to update my calendar, it works perfectly. I added the anchor tag to the webcal url in Google Calendar. I don’t want to go in manually and change the calendar all the time, so I installed the script and I run it without errors but my calendar is not updating.
On line 28 ["icsUrl1", "targetCalendar1"], I added in my target url and calendar name.
This is the webcal url for the calendar: webcal://p114-caldav.icloud.com/published/2/OTU0NTQwNzk1NDU0MDc5NY0GfaMdNrmofxaskYFk8I9ZnMV1JBhhZIkTGL90GL00#1
This is the public url to this calendar from Google: https://calendar.google.com/calendar/embed?src=udru2fk5hldka3rbj4u9cm5frb63b6f0%40import.calendar.google.com&ctz=America%2FNew_York
I’m pretty sure that I am making a mistake with the url. I tried many different combinations from above but no luck. I was hoping that someone could point me in the right direction? Thank you!!