cron or systemd timers
Both run things on a schedule. One of them tells you when it failed.
Writing
Both run things on a schedule. One of them tells you when it failed.
Most people use a fraction of it and miss the parts that make it fast.
Get this wrong and the service either restarts forever or is reported dead while running.