On Sun, 2021-07-04 at 17:34 +0200, Francis.Montagnac(a)inria.fr wrote:
Hi.
On Thu, 01 Jul 2021 10:47:45 +0100 Patrick O'Callaghan wrote:
> On Thu, 2021-07-01 at 08:53 +0800, Ed Greshko wrote:
> > Got me to start experimenting with writing user units and
> > learning a
> > bit about how they work.
> > So, some good came of the noise. From my perspective anyway. :-
> > )
> Ditto. I have some other uses for this.
Me too, for example to start a regular backup with a .timer user
unit.
It is also possible to have such units start at boot, by executing
(once and as root):
loginctl enable-linger LOGIN ...
Currently I use "@reboot some-command" in the root crontab, but I'll
take a look at that.
poc