Iām not sure as I can help with any related questions, but Iād suggest doing some googling on how you want to get things setup as your questions seem to be more of how to start setting up plex/rtorrent/etc.
I have one that runs every 2 minutes it checks that itās not already running and I also call rclone with a timeout command to terminate it if it runs for more than 10 minutes. Works well. You can use a lock file also but I just check background processes.
If you know the process should complete in 10 minutes you can simply just execute the script with the time out command with a time limit of 10 minutes and schedule Iām Cron to run every 10 minutes. Then you donāt need to check for a lock file nor background processes.
If you want a cheap way of making sure you arenāt running two concurrent rcloneās you can add --rc to the parameters - this opens a listening socket of which there can only be one. Use --rc-addr localhost:12345 to control the address for groups of mutually exclusive rclones.
Shell magic I presume?
rclone could easily implement a --max-run-time flagā¦
I can mount the drive and manually copy files to my gdrive by doing
rclone mount googledrive:backup /home/judgey/gdrive --daemon --allow-other
and then
rclone copy unrar googledrive:backup
I want to encrypted it and have a plex cache and to auto copy/backup but i dont know how to. I have never messed with bash scripts or cronjobs could anyone help me with setting this up. Im a newbie so will need newbie instructions.