13 lines
298 B
Bash
Executable file
13 lines
298 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
# Reload systemd and enable service
|
|
systemctl daemon-reload
|
|
systemctl enable scron
|
|
systemctl start 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"
|
|
|