Updated crontab to install bw cli
This commit is contained in:
@@ -20,7 +20,7 @@ options:
|
||||
# Example crontab
|
||||
```
|
||||
# Command to run everything at 22:00 (10PM) on the 2nd and 17th of the month. Will backup all configured bitwarden accounts and upload to seafile
|
||||
0 20 2,17 * * /usr/bin/apt update; /usr/bin/apt upgrade -y; /usr/bin/python3 /opt/bitwardenbackup/bitwardenBackup.py; /usr/bin/curl https://rclone.org/install.sh | bash; /usr/bin/rclone move /opt/bitwardenbackup/exports seafile: --include "*.gpg"; /sbin/shutdown -P now
|
||||
20 2,17 * * /usr/bin/apt update; /usr/bin/apt upgrade -y; /usr/bin/wget -O /tmp/bw.zip "https://vault.bitwarden.com/download/?app=cli&platform=linux"; /usr/bin/unzip -o -d /tmp/ /tmp/bw.zip; /usr/bin/chmod +x /tmp/bw; /usr/bin/mv /tmp/bw /usr/bin/bw; /usr/bin/python3 /opt/bitwardenbackup/bitwardenBackup.py; /usr/bin/curl https://rclone.org/install.sh | bash; /usr/bin/rclone move /opt/bitwardenbackup/exports seafile: --include "*.gpg"; /sbin/shutdown -P now
|
||||
```
|
||||
|
||||
# Example Rclone config file
|
||||
|
||||
Reference in New Issue
Block a user