Playing with systemd timers - best practices.
Recently I found that systemd has timers which can replace (and extend)
cron functionality.
My question is:
I have crontab like this:
--8<---------------cut here---------------start------------->8---
1 * * * * script.sh site1
3 * * * * script.sh site2
9 * * * * script.sh site3
2 * * * * script.sh site4
(... some similar entries ...)
--8<---------------cut here---------------end--------------->8---
Obvious way to migrate entries is create service template + some timers
calling this service.
But iss any smart way to make timer template and parameterise it?
KJ
--
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Like all young men, you greatly exaggerate the difference between one
young woman and another.
-- George Bernard Shaw, "Major Barbara"
Reply to: