I am unable to schedule my backup. I've read several articles, but I couldn't find the problem with my command. Running manually, there is no problem. If anyone can help, I appreciate it.
What is your rclone version (output from rclone version)
rclone v1.52.2
os/arch: linux/arm
go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu Server 16.04 Xenial Xerus 32 bit
Which cloud storage system are you using? (eg Google Drive)
Shared Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
The script is:
#!/bin/bash
if pidof -o %PPID -x "rclone-cron.sh"; then
exit 1
fi
/usr/bin/rclone copy gdteam-kdantas:"Arquivos TXT/" gdsmkn1:Backup/"Arquivos TXT/" --fast-list --progress --max-backlog=999999 --drive-acknowledge-abuse -vv --drive-server-side-across-configs --log-file=/home/kdantas/rclonecron.log
exit
I found out why I wasn't seeing the cron run. When doing the crontab tests, I was using my local time and not the system time. What would be the command to run rclone inside a screen? And how to see the execution of the command crontab (cmd screen)?
Now it´s ok. I was a silly mistake. My question now is: What would be the command to run rclone inside a screen? And how to see the execution of the command crontab (cmd screen)?