Can I use configuration password with cron jobs?

What is the problem you are having with rclone?

I noticed that if I try to run a cron job with rclone using a "configuration password" the cron job simply does not runs.

I wanted to know if is there a way to have it protected anyway, i.e., using the same cron job but having my configurations encrypted.

Below is an example of a command I am using:

10 1 * * * rclone -v -P copy /SOURCE/ Mega_Rclone:Backups_rclone/server1/mysql

Run the command 'rclone version' and share the full output of the command.

rclone --version
rclone v1.61.1
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-60-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

10 1 * * * rclone -v -P copy /SOURCE/ Mega_Rclone:Backups_rclone/server1/mysql

The rclone config contents with secrets removed.

type = mega
user = my_email
pass = my_password

Thanks in advance for any help. :slight_smile:

yes, just follow the docs

Thank you very much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.