Tip: change the refresh frequency of subscribed calendars in Nextcloud
-
Hi all,
Just want to share a little tip on here. It looks like if you subscribe an external calendar to your NC instance (say you add your Gcalendar), then NC only refreshes it every week, which seems a little insane to me...or at least that was not enough more me.
So here is how to change the frequency on Cloudron NC instance. Simple open the NC terminal from Cloudron dashboard and enter:
sudo -u www-data php -f /app/code/occ config:app:set dav calendarSubscriptionRefreshRate --value "P1D"
Where P1D is the frequency period of 1 day. Period / time intervals are entered in the php format. P is for periods of day(D)/week(W)/month(M)/year(Y), if instead you want to enter a period in hour(H)/minute(M)/second(S) need to enter PT, e.g. PT5M will refresh every 5 minutes.
-
root@9cff92f2-cf59-4a7e-9455-5261ee1fe533:/app/code# sudo -u www-data php -f /app/code/occ config:app:set dav calendarSubscriptionRefreshRate --value "PT5M" Config value calendarSubscriptionRefreshRate for app dav set to PT5M
Works like a charm. Thank you ^^
-
-
-
Great tip, thanks!
Agree it's insane the default is only once a week. Perhaps we should report this upstream...