|
From: | edgar . soldin |
Subject: | Re: [Duplicity-talk] Failures on backup jobs from cron |
Date: | Mon, 27 Feb 2023 23:02:35 +0100 |
User-agent: | K-9 Mail for Android |
such issues usually are caused by cron not setting PATH env var or wrongly. in my experience ,) to debug it, run 'which python3' 1. in cron. pipe to file or logger to retrieve the output 2. as root comparing both ourputs you will probably see that different python interpreters are used, with one not having the missing modules installed in it's default location resolve by adding the PATH env var of the root shell at crontab top. good luck.. ede/duply.net On February 27, 2023 9:48:24 PM GMT+01:00, Scott Hannahs via Duplicity-talk <duplicity-talk@nongnu.org> wrote: You may need to set the PYTHONPATH variable when running from Cron or other non-shell systems. |
[Prev in Thread] | Current Thread | [Next in Thread] |