diff --git a/heathcliff.service b/heathcliff.service new file mode 100644 index 0000000..3167339 --- /dev/null +++ b/heathcliff.service @@ -0,0 +1,9 @@ +[Unit] +Description=Send heathcliff to beneral channel + +[Service] +Type=OneShot +# ExecStart=/usr/bin/python3 /home/bread/servers/send_cliff.py +Restart=on-failure +RestartSec=30 +ExecStart=/bin/bash /home/bread/servers/cliff/send_cliff2.sh diff --git a/heathcliff.timer b/heathcliff.timer new file mode 100644 index 0000000..d731f4c --- /dev/null +++ b/heathcliff.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Send heathcliff daily + +[Timer] +OnCalendar=*-*-* 10:00:00 + +[Install] +WantedBy=timers.target