Setting up a cron job for updating icalendar feeds
icalendar feeds are updated whenever a calendar is loaded and the cached feed is expired, which in most cases is ok but can slow down your site if you have a lot of calendars importing multiple icalendar feeds.
In this case you may want to run the update in the background so the loading speed of your pages won’t be affected.
To do this, you can set up a cron job to load the following URL: https://yoursite.com/?wpbs-refresh-ical