Timers

Create a service

[Unit]
Description=IPv6 monitoring

[Service]
User=root
ExecStart=/usr/local/bin/test-ip6

[Install]
WantedBy=basic.target

Create a timer with the same name but suffixed with .timer

[Unit]
Description=Run test-ip6 every 10 minutes

[Timer]
OnBootSec=10min
OnUnitActiveSec=10min
Unit=test.service

[Install]
WantedBy=timers.target

Timer options:

Enable the timer:

systemctl enable --now test.timer