Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ncp/BACKUPS/nc-rsync-auto.sh')
-rw-r--r--bin/ncp/BACKUPS/nc-rsync-auto.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/BACKUPS/nc-rsync-auto.sh b/bin/ncp/BACKUPS/nc-rsync-auto.sh
index a1da426d..b4898087 100644
--- a/bin/ncp/BACKUPS/nc-rsync-auto.sh
+++ b/bin/ncp/BACKUPS/nc-rsync-auto.sh
@@ -35,6 +35,7 @@ configure()
}
echo "0 5 */${SYNCDAYS} * * root /usr/bin/rsync -ax --delete \"$DATADIR\" \"$DESTINATION\"" > /etc/cron.d/ncp-rsync-auto
+ chmod 644 /etc/cron.d/ncp-rsync-auto
service cron restart
echo "automatic rsync enabled"