![]() |
MfE - initiate sync from command line
Hi,
Does anyone know how I can trigger a manual MfE sync from the command line? I'd like to have a script that (a) initiates a VPN connection, (b) syncs MfE, and then (c) disconnects the VPN connection. Cheers Robert |
Re: MfE - initiate sync from command line
dbus-send --print-reply --type=method_call --session --dest=com.nokia.asdbus /com/nokia/asdbus com.nokia.asdbus.fullSync
fullSync can be: fullSync sync syncEmail stopSync |
Re: MfE - initiate sync from command line
im getting
Failed to open connection to "session" message bus: (null) do i have to customise this command in anyway? |
Re: MfE - initiate sync from command line
apols i think i just needed to sleep on it
|
Re: MfE - initiate sync from command line
actually in addition to the sleep is the odity that vpnc needs to be run as root while the mfe sync needs to be run as user! just looking for the right combination of setuid for this to work perfectly!
|
Re: MfE - initiate sync from command line
Quote:
|
Re: MfE - initiate sync from command line
Quote:
|
Re: MfE - initiate sync from command line
Quote:
Fred P.S. (edited in) I had to use very primitive cron strings in Alarmed as it does not seem that the #/# or #-# formats for cron are supported by the N900. I had to spell out every five minute interval I wanted to synch mfe along with every hour separated by commas, oh well, it works. Did I Miss something? |
Re: MfE - initiate sync from command line
Is there a way to check if the sync has completed. . .
based on network connection and sync size this could take a while and I really wanted to check if it has completed! also is there a way to check if a current network connection is established? cheers |
Re: MfE - initiate sync from command line
i would like to know what the difference between using
can someone plz explain?? |
All times are GMT. The time now is 11:29. |
vBulletin® Version 3.8.8