Files
oam/snippets/cronjobs.sh
2024-06-12 21:46:29 +02:00

12 lines
263 B
Bash

#!/usr/bin/env sh
systemctl --enable --now 'crond.service'
journalctl -xefu 'crond.service'
# Validate crontab files
crontab -T '/etc/cron.d/prometheus-backup'
run-parts --list '/etc/cron.daily'
run-parts --test '/etc/cron.hourly'
run-parts '/etc/cron.weekly'