Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gene1wood/02ed0d36f62d791518e452f55344240d to your computer and use it in GitHub Desktop.
Save gene1wood/02ed0d36f62d791518e452f55344240d to your computer and use it in GitHub Desktop.

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

https://script.google.com/home/projects/1BOk8MDLbLaHh6SwG1M1tsgNXjkcC-79LE0QoipRuTDxbO3fMVvqoROQD/edit

Thanks to @rattrayalex for pointing people to this script

@jonas0b1011001
Copy link

Works just fine with a fresh copy of the script you linked above. No settings changed. 🤷‍♂️
Bildschirmfoto 2024-10-16 um 20 55 42

@bverenkoff
Copy link

Works just fine with a fresh copy of the script you linked above. No settings changed. 🤷‍♂️ Bildschirmfoto 2024-10-16 um 20 55 42

Weird. I got a fresh script and tried, and same thing. I also tried it on a different Gmail account/calendar and still no invite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment