Test run-parts dry run cron
List which scripts would execute without running them; debugging cron.daily
run-parts --test /etc/cron.daily
more cron
all 8 commands →
systemd timer alternative
systemd-run --on-calendar='*-*-* 03:00:00' --unit=backup /opt/backup.sh
One-shot job with at
at now + 1 hour <<< 'systemctl restart nginx'
Defer until load is low
batch <<< '/opt/heavy-reindex.sh'
Dump another user's crontab
crontab -l -u <name> 2>/dev/null || echo 'no crontab'
Run job at boot
( crontab -l 2>/dev/null; echo '@reboot /usr/local/bin/warmup.sh' ) | crontab -