[08:50] Greetings [08:52] Hello [08:55] I have a slight, problem. Im running timers/service files for a few of my scripts. But whenever the system restarts, the timers also run. https://paste.ubuntu.com/p/hzZgDsk8W6/ [08:56] I was wondering what option I should use so timers run on on the set time, rather than right away on boot. [09:41] Skyrider: your question is going to haunt me [09:41] How so? [09:42] according to the systemd.timer manual page it should already be happening that way, since you don't have Persistent=true in your timer unit [09:42] is that the only unit file? no overrides etc? [09:44] Those are the only files. Any many other timer/service files like that one. Just pinpointing to different sh script files. [14:40] Skyrider: are you sure that the timer actually runs or does it just start your service because of your "Requires" statement? [15:32] frickler: As far as I know, timer runs the service which runs the script. Has been working for over a year. [15:33] Just the service runs at start-up. While I only enabled the timer [16:27] Skyrider: i would check your syslog to see when the timer executes, etc. Or journalctl to make sure it actually executes the timer. [16:28] timers DO run at boot if they're configured to I believe, and that's "Usual Behavior" [16:28] as is servic estartup :p [16:29] Your first line, you refer to the boot up or if the timers actually work? [16:30] `Or journalctl to make sure it actually executes the timer` - You mean if the service or timer starts on boot. [16:30] both. `journalctl -u whatever.timer` or `journalctl -u whatever.service` will show the respective information about either unit [16:30] compare times from when you booted your computer and you can determine if one or both actually execute on boot or if you're imagining it [16:32] Can't imagen it.. XD, one of the scripts is set to RM a directory once a week. [16:32] If the boot up suddenly erases the directory before the timer, then ya.. :p [16:32] so i think you meant to have that service be a oneshot unless it's a daemon [16:33] timers calling the oneshot on the specified time [16:33] but let's start by checking the journalctl output to see what's actually happening - whether the timer is running or the service is running on boot ;) [16:33] Its weird though.. I only enabled the timer, not the service. [16:34] But ya.. I'll just relaunch the lxc container and keep backups to check the logs. [16:44] i mean I still use `cron` jobs for things - because they don't have any weirdness with timer execution and such) [16:44] but that's just me :P [16:54] Seems Trump won't give up, just like the black night https://www.youtube.com/watch?v=2eMkth8FWno [20:21] teward: Crons has its limits. [20:21] Especially when it comes to seconds I believe. [20:48] I'm trying to automate a server installation that I'm installing with a USB... referencing https://ubuntu.com/server/docs/install/autoinstall. There is a line about "This is to make it harder to accidentally create a USB stick that will reformat a machine it is plugged into at boot." - how do I put the config on the bootable USB so it will install automatically? [20:48] Most examples are for netboots