summaryrefslogtreecommitdiffstats
path: root/modules/partofme/files/rclone-cron
blob: 99605d87eb442da106df90681072658836a602d7 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

if ! mount | grep -q /media/persistent; then
    exit 1
fi

date -Iseconds >/media/persistent/last_run
rclone --config /etc/rclone.conf sync /media/persistent crypt:partofme