Add sh script for autorestic cron

This commit is contained in:
FarisZR 2022-03-19 03:21:03 +03:00 committed by GitHub
parent 1d1e5731e9
commit 03682333c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

4
crond.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
echo "autorestic cron process has started"
autorestic -c $CRON_CONFIG_DIR --ci cron > /var/log/autorestic-cron.log 2>&1
echo "autorestic cron process has finished"