This is a 1994 book about the many woes that Unix derived systems brought to sysadmins that were used to other solutions. Considering the number of commands that Linux still uses, it’s definitely worth a read.
I always have Terminal open in the background. Never know when you might need to enact a dramatic hacker scene. I just can’t believe what they charge for thise minitors that project text onto your face.
I try to create a timer unit for weekly and daily backups. For example with the weekly unit, it should be executed once in a week, some minutes after login. If the unit was successful, it should shutdown and not start again until the next week. If a start of this unit was missing, it should be start again some minutes after the...
Your systemd file looks ok, but I think it’s doing exactly what you are telling it.
The solution may lie in the backup.service. Is that code you can modify? The OnCalendar=weekly doesn’t specify when in the week the service should run so that config may be vague.
If I understand the desired function here, you will need the service up all the time. It will just wait politely and occasionally run the specific backup script. It’s up to the backup script to determine when the last backup was made and either exit early because it hasn’t been a week or run the backup and reset a flag file.
At least that’s the approach I would take. Systemd is a very vigilant, but very stupid, service manager. It just watches and triggers services based on just a few criteria. Any logic more complex needs to go in the service itself.
I think Nu Trek is ready for Rowan Atkinson to do a bit as that Vulcan. They might have to lower decks this one, but I want to see Mr Bean deal with a subspace anomaly.
We did it? (lemm.ee)
Something to ruffle some penguin feathers: The Unix Hater's Handbook (web.mit.edu)
This is a 1994 book about the many woes that Unix derived systems brought to sysadmins that were used to other solutions. Considering the number of commands that Linux still uses, it’s definitely worth a read.
It's just totally a fad (lemmy.world)
Christmas in Gotham [Safely Endangered] (startrek.website)
Website safelyendangered.com
I'm not creative enough to think of a title (lemmy.world)
Source: lemmy.world/comment/6204390
Systemd timer unit
I try to create a timer unit for weekly and daily backups. For example with the weekly unit, it should be executed once in a week, some minutes after login. If the unit was successful, it should shutdown and not start again until the next week. If a start of this unit was missing, it should be start again some minutes after the...
🌿👀🌿 (mander.xyz)
Boquila trifoliolata mimics leaves of an artificial plastic host plant...
Mr. Bean, vulkanized
Mr. Bean in Vulcan form
Not all heroes wear capes (lemmy.world)
deleted_by_author
we are all made in the image of the Lord (slrpnk.net)