Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #199663
| From | Darac Marjal <mailinglist@darac.org.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Playing with systemd timers - best practices. |
| Date | 2018-08-31 22:40 +0200 |
| Message-ID | <wsYmZ-55c-3@gated-at.bofh.it> (permalink) |
| References | <wsLSN-6jJ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Is there something wrong with systemd-crontab-generator? https://manpages.debian.org/stretch/systemd-cron/systemd-crontab-generator.8.en.html On 31/08/2018 07:59, Kamil Jońca wrote: > 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 > >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Playing with systemd timers - best practices. kjonca@poczta.onet.pl (Kamil Jońca) - 2018-08-31 09:20 +0200
Re: Playing with systemd timers - best practices. Darac Marjal <mailinglist@darac.org.uk> - 2018-08-31 22:40 +0200
Re: Playing with systemd timers - best practices. kjonca@poczta.onet.pl (Kamil Jońca) - 2018-09-03 07:10 +0200
csiph-web