What is the problem you are having with rclone?
Rclone shows an error when job is run from Cron but manually running the same command works.
What is your rclone version (output from rclone version
)
rclone v1.52.0
- os/arch: linux/arm
- go version: go1.14.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Raspberry Pi OS - 32-bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
0 12,19,23 * * * m=$(rclone copy -v /home/homeassistant crypt:hass_backup --exclude-from=/home/homeassistant/.ha_excludes --config=/home/agneev/.config/rclone/rclone.conf 2>&1); curl -fsS --retry 3 --data-raw "$m" "https://hc-ping.com/<redacted>$([ $? -ne 0 ] && echo -n /fail)"
A log from the command with the -vv
flag
2020/06/16 12:00:13 Failed to save config after 10 tries: Failed to create temp file for new config: open /home/agneev/.config/rclone/rclone.conf088055982: permission denied