Initial Cron Run
Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
parent
d66638c46e
commit
28cefabe61
4
cron/cron.d/certbot
Normal file
4
cron/cron.d/certbot
Normal file
@ -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
|
3
cron/cron.d/mirror
Normal file
3
cron/cron.d/mirror
Normal file
@ -0,0 +1,3 @@
|
||||
SHELL=/bin/sh
|
||||
|
||||
0 2 * * * mirror /mnt/gluster01/mirror/meta/slackware.sh
|
9
cron/cron.d/restic_orpheus
Normal file
9
cron/cron.d/restic_orpheus
Normal file
@ -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
|
10
cron/cron.d/restic_selene
Normal file
10
cron/cron.d/restic_selene
Normal file
@ -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
|
||||
|
9
cron/cron.d/restic_theia
Normal file
9
cron/cron.d/restic_theia
Normal file
@ -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
|
6
cron/cron.daily/beauties-cleanup.sh
Normal file
6
cron/cron.daily/beauties-cleanup.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
BEFORE=$(du -h /opt/beauties/data/storage)
|
||||
echo "#universe +++ $BEFORE - Starting cleanup ..." | nc -N 127.0.0.2 2424
|
||||
find /opt/beauties/data/storage/* -mtime +60 -exec rm {} \; | nc -N 127.0.0.2 2424
|
||||
AFTER=$(du -h /opt/beauties/data/storage)
|
||||
echo "#universe +++ $AFTER - Cleanup complete." | nc -N 127.0.0.2 2424
|
Loading…
Reference in New Issue
Block a user