Re: [systemd-devel] How to start a task after system boot but only on specific days using systemd.timer

2018-01-10 Thread Lennart Poettering
On Di, 09.01.18 20:28, Joerg Diederich (joerg_dieder...@freenet.de) wrote: > Hello, > > I have a little (perhaps strange) requirement: > I want to execute a script about five minutes after system boot, but only on > specific weekdays (e. g. Sundays) using systemd.timer. I tried a combination >

Re: [systemd-devel] How to start a task after system boot but only on specific days using systemd.timer

2018-01-10 Thread Joerg Diederich
> On 10/01/2018 05:17, Andrei Borzenkov wrote: > > 09.01.2018 22:28, Joerg Diederich пишет: > >> Hello, > >> > >> I have a little (perhaps strange) requirement: > >> I want to execute a script about five minutes after system boot, but only > >> on specific weekdays (e. g. Sundays) using systemd.ti

Re: [systemd-devel] How to start a task after system boot but only on specific days using systemd.timer

2018-01-10 Thread Jérémy Rosen
On 10/01/2018 05:17, Andrei Borzenkov wrote: 09.01.2018 22:28, Joerg Diederich пишет: Hello, I have a little (perhaps strange) requirement: I want to execute a script about five minutes after system boot, but only on specific weekdays (e. g. Sundays) using systemd.timer. I tried a combinatio

Re: [systemd-devel] How to start a task after system boot but only on specific days using systemd.timer

2018-01-09 Thread Andrei Borzenkov
09.01.2018 22:28, Joerg Diederich пишет: > Hello, > > I have a little (perhaps strange) requirement: > I want to execute a script about five minutes after system boot, but only on > specific weekdays (e. g. Sundays) using systemd.timer. I tried a combination > of OnBootSec and OnCalendar like >

[systemd-devel] How to start a task after system boot but only on specific days using systemd.timer

2018-01-09 Thread Joerg Diederich
Hello, I have a little (perhaps strange) requirement: I want to execute a script about five minutes after system boot, but only on specific weekdays (e. g. Sundays) using systemd.timer. I tried a combination of OnBootSec and OnCalendar like OnBootSec=5m OnCalendar=Sun but this doesn't work. My