Can systemd services be associated with more than one timer and vice versa?

As subject asks:
Can a systemd timer be associated with more than one service?
Can a systemd service be associated with more than one timer?

I think you can achieve this with hardlinks.

systemd timers can only activate one unit, but that unit can be a target instead of being a service, which means that many services can be started when the timer fires.

A service could be in multiple targets as well, which means that if each target had its own timer then all of those timers would be able to start that service.

3 Likes