[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] crontab not executing gnuhealth-control backup script
From: |
Cédric Krier |
Subject: |
Re: [Health] crontab not executing gnuhealth-control backup script |
Date: |
Sun, 11 Oct 2015 09:23:41 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On 2015-10-11 02:53, Armand MPASSY-NZOUMBA 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.
You are forgetting probably to activate the virtualenv in your script.
--
Cédric Krier - B2CK SPRL
Email/Jabber: address@hidden
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/