Is there no way to trap a specific signal (often '1') and have it do a
save/unlock/quit?


On Mon, Jan 3, 2011 at 6:34 AM, Peter Bienstman <[email protected]>wrote:

> Hi,
>
> There is no way of forcing a save explicitly from outside the program at
> the
> moment.
>
> However, in 2.0 the database is saved after each revision, so there is will
> be
> OK to kill the program.
>
> Peter
>
> > I use Ubuntu 10.10 with mnemosyne and I synchronize the data files using
> > dropbox. Here is my problem scenario. I leave the program running at home
> > and go to work and if I open the program at work and work on it the data
> > file is changed and I loose my progress at home when I exit at work (as
> it
> > automatically saves) when exiting.
> > I thought I could create a cron job to automatically close mnemosyne
> every
> > morning regardless of me remembering to do it or not but if I use `kill`
> > command, the program exits without saving the datafile and I end up with
> a
> > LOCK tmp file and consequently an error message when I restart it.
> >
> > Is there a better way of automating this closing of mnemosyne, emulating
> me
> > clicking file>exit menu option.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<mnemosyne-proj-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/mnemosyne-proj-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en.

Reply via email to