From 2678e73ff1eb2f4e0a5d02a750ec4c047333da6b Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 13:33:34 +0200 Subject: Initial Cron Run Signed-off-by: Georg --- cron/cron.d/restic_selene | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cron/cron.d/restic_selene (limited to 'cron/cron.d/restic_selene') diff --git a/cron/cron.d/restic_selene b/cron/cron.d/restic_selene new file mode 100644 index 0000000..2177e7f --- /dev/null +++ b/cron/cron.d/restic_selene @@ -0,0 +1,10 @@ +# Cronjob for Restic Backup to S3 +# Created and last modified: 20/07/2021 +# georg@lysergic.dev + +MAILTO=system +SHELL=/bin/sh + +#This will make a deduplicating backup every day at 21:00 and send an email to system@lysergic.dev as well as #universe +0 21 * * * restic /opt/restic/run.sh |& mail -s "S3 Backup - $(hostname -f) - $(date)" ircsystem + -- cgit v1.2.3