#!/bin/bash set -e # Reload systemd and enable service systemctl daemon-reload systemctl enable scron echo "SCRON installed successfully!" echo "Configuration file: /etc/scron/config.yml" echo "Start service: systemctl start scron" echo "View logs: journalctl -u scron -f"