file locking for single user, multiple gnucash?

Derek Atkins warlord at MIT.EDU
Tue May 13 11:31:30 EDT 2014


Mike or Penny Novack <stepbystepfarm at mtdata.com> writes:

> Just put your data files into different directories and you can have
> them open at the same time. Whether you should or should not do that

This is not a requirement.  The lock file name is based on the data file
name.  So you can have DataFile1 and DataFile2 both in the same
directory and it will work just fine, because the lock files will be
DataFile1.LCK and DataFile2.LCK.

The main issue with two gnucash processes running at the same time would
be contention for writing out preferences.  In those cases, generally
the "last writer" will win.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list