paramiko fails when used as cronjob
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paramiko (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
cront-tab :
SHELL=/usr/bin/bash
PATH=/home/
HOME=/home/user1
52 * * * * bash -c "/home/
BackUps.sh :
#!/bin/bash
duplicity --no-encryption "/home/user1/Music" sftp://
delete :
/usr/lib/
sshconfig.
ResourceWarning: Enable tracemalloc to get the object allocation traceback
BackendException: ssh connection to backU@192.
BackUps.sh (using pexpect instead) :
#!/bin/bash
duplicity --no-encryption "/home/user1/Music" pexpect+sftp://
delete (using pexpect) :
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Feb 20 13:09:02 2020
--------------[ Backup Statistics ]--------------
StartTime 1582208643.30 (Thu Feb 20 16:24:03 2020)
EndTime 1582208643.31 (Thu Feb 20 16:24:03 2020)
ElapsedTime 0.00 (0.00 seconds)
SourceFiles 2
SourceFileSize 4029085 (3.84 MB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 0
RawDeltaSize 0 (0 bytes)
TotalDestinatio
Errors 0
-------
Description: Ubuntu 19.10
Release: 19.10
python3-paramiko:
Installed: 2.6.0-1
Candidate: 2.6.0-1
Version table:
*** 2.6.0-1 500
500 http://
500 http://
100 /var/lib/