Efraim Flashner <efr...@flashner.co.il> skribis: > On Mon, Nov 04, 2024 at 11:34:50PM +0100, Ludovic Courtès wrote:
[...] >> Shepherd 1.0-to-be (current ‘devel’ branch) gained a generic ‘timer’ >> service that does the job the ‘at’ command would do back in the day >> (before the advent of CD-ROM and the information superhighway): >> >> herd schedule timer at 07:00 -- mpg123 alarm.mp3 >> >> We’re talking about something quite similar, just not delayed, right? > > systemd-run has a --timer flag, and I could see adding a flag for > shepherd-run after shepherd 1.0. > > To me the big thing systemd-run brought was being able to launch > programs from the shell and have it show up in `systemctl --user > services`, and I'd like to be able to get commands I run from the CLI to > show up in `herd status` the same way. Easy. :-) That’s really what ‘herd schedule timer’ does, except it’s delayed. > systemd has some more magic I wanted to steal, like being able to launch > GUI applications from systemd-run. Trickier I guess, because you need to pass DISPLAY etc. Food for thought! Ludo’.