From 7aee7afd4bad352d30ec4dcb913b472844c745d5 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Mon, 2 Sep 2024 15:11:35 +0000 Subject: [PATCH] Updated crontab to install bw cli --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47d6697..e98b1b2 100644 --- a/README.md +++ b/README.md @@ -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