Files
oam/snippets/cronjobs.sh
2025-09-16 16:53:09 +02:00

13 lines
297 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'
crontab -T '/var/spool/cron/root'
run-parts --list '/etc/cron.daily'
run-parts --test '/etc/cron.hourly'
run-parts '/etc/cron.weekly'