View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1547
Originally Posted by klefa View Post
I have seemingly simple problem - I would like to sync my calendar every morning just before I wake up. My N9 on power saving mode by default, so I have tried to use ProfileMatic:

leave PSM
--> sync calendars
--> return to PSM
Just a guess, perhaps device has not had time to fully exit power saving mode before you try syncing and the sync is not done when in power saving mode? If that is the case you can try to add some delay in the script.

I can invoke calendar sync on command line:

dbus-send --session --print-reply --dest=com.meego.msyncd /synchronizer com.meego.msyncd.startSync string:'160967398'
If it works from command-line it should work from ProfileMatic. But you can also debug your scripts for example by writing the output of that dbus-send command to a file and inspecting what it says.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post: