Questions Regarding Backup and Stopping Gnucash

John Griessen john at cibolo.com
Sun Sep 22 23:15:06 EDT 2013


On 09/22/2013 09:23 PM, Mark Phillips wrote:
> Any
> suggestions on how to gracefully kill gnucash from the command line?
I'm guessing you mean as a result of giving a shutdown command. Good idea.  I know some
of the debian distro has actions like that, but for services that are in /etc/init.d.  You could
do a pipe:
ps ax | grep gnucash
as a command run from inside a perl or python script,
then so some text processing on the result...

john at toolbench:~$ ps ax | grep gnucash
  5720 pts/1    Sl     0:20 gnucash xxxxxx.gnucash
  5737 pts/0    S+     0:00 grep gnucash

I just use the open anyway dialog box answer to deal with the lock files.
Have not had trouble.

Am I risking some trouble doing that?


More information about the gnucash-user mailing list