From 03682333c356ffba1e7c77a880f788debfa60bc2 Mon Sep 17 00:00:00 2001 From: FarisZR <35614734+fariszr@users.noreply.github.com> Date: Sat, 19 Mar 2022 03:21:03 +0300 Subject: [PATCH] Add sh script for autorestic cron --- crond.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 crond.sh diff --git a/crond.sh b/crond.sh new file mode 100644 index 0000000..d60b4b6 --- /dev/null +++ b/crond.sh @@ -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" \ No newline at end of file