epsreps / time-tracker-mac

Automatically exported from code.google.com/p/time-tracker-mac
Other
0 stars 0 forks source link

Sync to the cloud #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Setup a way to sync the changes to the cloud (ftp, webdav, dropbox, etc). This 
can be useful if we have Time Tracker on multiple computers (work computer, 
laptop, etc) and possibly allowing other the ability to use it in 
cross-platform environments such as iPhone/Android/PC

Original issue reported on code.google.com by jcval...@gmail.com on 23 Feb 2011 at 9:13

GoogleCodeExporter commented 8 years ago
Syncing over multiple computers over Dropbox is simple. Just move the data 
folder (<userhome>/Library/Application Support/TimeTracker) to Dropbox. Then 
create a symbolic link, drag that to the "Application Support" folder, and 
delete the "symlink" siffix, so that the link has the original name 
"TimeTracker".

On the second computer, delete the TimeTracker file in "Application Support," 
and repeat the step of making a symbolic link. 

It should work fine after that. Both computers will be saving the data to the 
folder in Dropbox.

BTW, the easiest way to make a symbolic link (if you're unfamiliar with it) is 
to install the SymbolicLinker contextual menu as an add-on to your system:
http://seiryu.home.comcast.net/~seiryu/symboliclinker.html

Original comment by Paul.E.R...@gmail.com on 4 Oct 2011 at 5:51

GoogleCodeExporter commented 8 years ago
thanks Paul for the hint. That would have also been my standard answer. 
However, the only caveat is that you shouldn't be running both time trackers at 
once. The dropbox solution will typically only work if only one is running at a 
time. TT opens the data file at launch and repeatedly saves to it during its 
runtime. If you had both running at the same time each instance would write its 
"view" of the data to the filesystem. The last one to save is the one to win.

Original comment by rbur...@gmail.com on 4 Oct 2011 at 9:04

GoogleCodeExporter commented 8 years ago
Thanks for that tip Paul. This will work for me; just need to remember to close 
it (to be safe) whenever I'm done using it.

Original comment by jcval...@gmail.com on 11 Oct 2011 at 4:05