diff options
author | EuAndreh <eu@euandre.org> | 2023-03-15 14:44:08 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-15 14:45:05 -0300 |
commit | cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d (patch) | |
tree | 09ad8589c316f2aeb1216e93ab44c866cd7830b4 /src/infrastructure/guix/system.scm | |
parent | system.scm: Fix duplicate NS entry in reverse IP zones (diff) | |
download | server-cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d.tar.gz server-cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d.tar.xz |
system.scm: Add daily cronjob for system checks
check.sh: sends emails to important RFC aliases, so that one verifies it
daily.
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d
git notes --ref=refs/notes/ci-data show cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d
Exit status: 0
Duration: 20
Diffstat (limited to 'src/infrastructure/guix/system.scm')
-rw-r--r-- | src/infrastructure/guix/system.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index 501c136..d744624 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -312,6 +312,7 @@ (list (script "r" (file "src/infrastructure/scripts/r.sh")) (script "gc" (file "src/infrastructure/scripts/gc.sh")) + (script "check" (file "src/infrastructure/scripts/check.sh")) (script "backup" (file "src/infrastructure/scripts/backup.sh")) (script "deploy" (file "src/infrastructure/scripts/deploy.sh")) (script "report" (file "src/infrastructure/scripts/report.sh")) @@ -347,6 +348,7 @@ (mcron-configuration (jobs (list + #~(job "0 0 * * *" "cronjob check") #~(job "0 1 * * *" "cronjob env BORG_REPO=/mnt/backup/borg backup -q cron") #~(job "0 2 * * *" "cronjob backup -q cron") #~(job "0 3 * * 0" "cronjob gc") |