Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Tip: change the refresh frequency of subscribed calendars in Nextcloud

    Nextcloud
    3
    3
    194
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • avatar1024
      avatar1024 last edited by

      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.

      1 Reply Last reply Reply Quote 8
      • subven
        subven last edited by

        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 ^^

        1 Reply Last reply Reply Quote 3
        • Topic has been marked as a question  nebulon nebulon 
        • Topic has been marked as solved  nebulon nebulon 
        • jdaviescoates
          jdaviescoates last edited by

          Great tip, thanks!

          Agree it's insane the default is only once a week. Perhaps we should report this upstream...

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          Powered by NodeBB