maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   CalDAV update only on WiFi (https://talk.maemo.org/showthread.php?t=98040)

chrm 2016-10-29 21:29

CalDAV update only on WiFi
 
Hi,

I'm using CalDAV on my N9 with my own CalDAV server.
One can configure the time conditions for syncing the calendars.

Do you know how to sync the calendars manually (from the command line) so I can create a rule to sync only on wifi?

Thanks for any hint!

chrm 2016-10-31 08:01

Re: CalDAV update only on WiFi
 
In case, someone else needs it, its quite easy

1.) Get the ID of your CalDav calendar:
- start sync process in GUI and get calendar ID while it is syncing:

Code:

$ qdbus com.meego.msyncd /synchronizer runningSyncs
2.) Take this ID and trigger sync:

Code:

qdbus com.meego.msyncd /synchronizer startSync <CAL-ID>
Now you can use it to trigger syncing for some special events, like connecting to your own wifi (in "ProfileMatic").


All times are GMT. The time now is 22:50.

vBulletin® Version 3.8.8