Re:Cron best practices
by pkulak on Friday March 11, 2022 @10:44AM
(#30641253)
My problem is that I always forget the complicated dance of creating a one-shot service file, then a timer of the same name, then enable then start. And is it --user? Where do they go again?
I should write a little bash script that takes a name, a command, and a schedule and just sets it all up. Has anyone already done something like that?
I should write a little bash script that takes a name, a command, and a schedule and just sets it all up. Has anyone already done something like that?