health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] crontab not executing gnuhealth-control backup script


From: Luis Falcon
Subject: Re: [Health] crontab not executing gnuhealth-control backup script
Date: Sun, 11 Oct 2015 11:30:22 +0100

Hi Armand !
On Sun, 11 Oct 2015 02:53:20 +0000 (UTC)
Armand MPASSY-NZOUMBA <address@hidden> wrote:

> Dear all,
> I need again your expertise in the following issue:
> I am trying to automate the backup process of gnuhealth using
> crontab. For this purpose I wrote a script that does the job. The
> script works perfectly manually. However it does not work under
> crontab.I get the following error in the logfile: [ERROR] could not
> find the GNU health version env. variable It should like I should
> export some variables but I don't know exactly which ones. Thanks in
> advance for your support, Kind regards, Armand
If using crontab, try sourcing $HOME/.bashrc before invoking
gnuhealth-control in your backup script. That file takes care of
calling .gnuhealthrc with all the needed variables.

Best,
Luis

 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]