Calendar subscriptions refresh rate as a user


I read the documentation: Calendar — Nextcloud latest Administration Manual latest documentation
It says

The default refresh rate is one week, unless the subscription itself tells otherwise.

My question: how can we tell the subscription itself another rate?


If you read one sentence further in the linked source, it gives you the answer to your question.

If that doesn’t work for you, please provide more details on why it doesn’t work and what the error is.

The next sentence is about the default refresh rate.

It’s possible, but unfortunately it hasn’t made it into the user interface. There is a column for it in the database, but you have to set it manually in the SQL console.

But to make things easy, I wrote a bash script, that can set the refreshrate of your described calendars to your choicy.

Install the script:

sudo wget -qO /usr/local/bin/nc-subscribed-calendar
sudo chmod +x /usr/local/bin/nc-subscribed-calendar

Now simply run it:


The script wil guide you through the steps.

Restriction: Only for mysql
[Edit]: for MySQL and PostgreSQL

Much and good luck,

1 Like

Those are all for the refresh rate that affects ALL subscribed calendars.
An example: subscribed calendars with religious or legal holidays or moon phases can be upated once a month or even once a year while subscribed personal google callendars would have to be synchronized up to every 15 minutes or sometimes even more often depending on the individual case.

That is not possible with the setting described in the manual.

therefore I wrote the script to give the means to set it on a per subscribed calendar basis

Thank you ernolf.

So you confirm that as a simple user of a hosted nextcloud instance I can’t do nothing?

That’s true, unfortunately.

Setting the default refresh rate, as explained in the manual, can only be done via occ, i.e. by administrators with console access.
My script gives an additional possibility to set a refreshrate separately for each subscribed calendar but as well only admin users with access to the database can make this changes. So my script doesn’t change anything on that, since it only can be run by an admin with terminal access.

I’ve brought this up before in this issue.

1 Like