summaryrefslogtreecommitdiffstats
path: root/cron/cron.d
diff options
context:
space:
mode:
authorGeorg2021-07-21 13:33:34 +0200
committerGeorg2021-07-21 13:33:34 +0200
commit28cefabe617a2cb32e7efcc1f283a5f24dd5cb69 (patch)
tree002d73a98ff7a841b80b3c7af3128cdec9321adc /cron/cron.d
parentd66638c46e03e13b43bf44667e0c9dd50357ef60 (diff)
downloadsystem-28cefabe617a2cb32e7efcc1f283a5f24dd5cb69.tar.gz
system-28cefabe617a2cb32e7efcc1f283a5f24dd5cb69.tar.bz2
system-28cefabe617a2cb32e7efcc1f283a5f24dd5cb69.zip
Initial Cron Run
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'cron/cron.d')
-rw-r--r--cron/cron.d/certbot4
-rw-r--r--cron/cron.d/mirror3
-rw-r--r--cron/cron.d/restic_orpheus9
-rw-r--r--cron/cron.d/restic_selene10
-rw-r--r--cron/cron.d/restic_theia9
5 files changed, 35 insertions, 0 deletions
diff --git a/cron/cron.d/certbot b/cron/cron.d/certbot
new file mode 100644
index 0000000..39c9720
--- /dev/null
+++ b/cron/cron.d/certbot
@@ -0,0 +1,4 @@
+SHELL=/bin/sh
+MAILTO=system@lysergic.dev
+
+0 0,12 * * * certbot sleep 1960 && /opt/certbot/certbot-venv/bin/certbot renew -q
diff --git a/cron/cron.d/mirror b/cron/cron.d/mirror
new file mode 100644
index 0000000..1ad81d1
--- /dev/null
+++ b/cron/cron.d/mirror
@@ -0,0 +1,3 @@
+SHELL=/bin/sh
+
+0 2 * * * mirror /mnt/gluster01/mirror/meta/slackware.sh
diff --git a/cron/cron.d/restic_orpheus b/cron/cron.d/restic_orpheus
new file mode 100644
index 0000000..ca1ab51
--- /dev/null
+++ b/cron/cron.d/restic_orpheus
@@ -0,0 +1,9 @@
+# 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 22:00 and send an email to system@lysergic.dev as well as #universe
+0 22 * * * restic /opt/restic/run.sh |& mail -s "S3 Backup - $(hostname -f) - $(date)" ircsystem
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
+
diff --git a/cron/cron.d/restic_theia b/cron/cron.d/restic_theia
new file mode 100644
index 0000000..a7856f2
--- /dev/null
+++ b/cron/cron.d/restic_theia
@@ -0,0 +1,9 @@
+# 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 23:00 and send an email to system@lysergic.dev as well as #universe
+0 23 * * * restic /opt/restic/run.sh |& mail -s "S3 Backup - $(hostname -f) - $(date)" ircsystem