I’m struggling to work out how I can detect a running Rclone job?
If I try to run the job manually it says it’s already running and if I try to cancel it it says no process found. Am I getting the cancel job command wrong? I was using killall rclone-cron.sh
Is it not possible to cancel a job if there are files in the process of being transferred?
I have a backup job that I have decided to cancel and start again using encryption. I have tried cancelling a number of times however the job just carries on going. Is this because there are large files in the process of being moved?
I have tried using the commands;
pkill RichFlix-backup.sh
and
killall RichFlix-backup.sh
and this is the running script;
#!/bin/bash
LOCKFILE="/var/lock/basename $0"
I presume RClone would have eventually closed once the files in mid transfer had completed with the scripting I was using. Does that sound about right?