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

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"