summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-06 17:07:49 -0500
committerMarc Coquand <marc@mccd.space>2024-05-06 17:07:49 -0500
commit80b95fcaab9149466e656430eb4c0041e28ee455 (patch)
treec9161d0815b3f81cea9f522891ee148bb5f427af /services
downloadrcm-80b95fcaab9149466e656430eb4c0041e28ee455.tar.gz
rcm-80b95fcaab9149466e656430eb4c0041e28ee455.tar.bz2
rcm-80b95fcaab9149466e656430eb4c0041e28ee455.zip
Initial commit
Diffstat (limited to 'services')
-rwxr-xr-xservices/mbsync/run4
-rwxr-xr-xservices/nextcloud/run5
-rwxr-xr-xservices/vdirsyncer/run4
3 files changed, 13 insertions, 0 deletions
diff --git a/services/mbsync/run b/services/mbsync/run
new file mode 100755
index 0000000..5035c44
--- /dev/null
+++ b/services/mbsync/run
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+sleep 300
+/usr/bin/mbsync -a
+sleep 240
diff --git a/services/nextcloud/run b/services/nextcloud/run
new file mode 100755
index 0000000..709882a
--- /dev/null
+++ b/services/nextcloud/run
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+sleep 300
+/usr/bin/rclone bisync nextcloud:Articles ~/Articles
+/usr/bin/rclone bisync nextcloud:Shared ~/Shared
+sleep 240
diff --git a/services/vdirsyncer/run b/services/vdirsyncer/run
new file mode 100755
index 0000000..66841dd
--- /dev/null
+++ b/services/vdirsyncer/run
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+sleep 300
+/usr/bin/vdirsyncer sync
+sleep 240