All Questions
Tagged with systemd-timer shell-script
5
questions
2
votes
0
answers
59
views
Systemd - run bash script after user login on specific days
I use the i3 window manager and every day of remote work I would like to run a script that is responsible for setting up my monitors. On Tuesdays, I work onsite, then I'll want to run another script.
...
0
votes
1
answer
239
views
Why isn't my systemd timer executing my sh script?
My youtube.sh file located in /home/deck/Desktop/youtube.sh:
#1/bin/env bash
pactl -- set-sink-volume 0 100%
xdg-open A youtube video link
My youtube.timer file located in /etc/systemd/system/youtube....
0
votes
1
answer
387
views
systemd service failed
Im trying to write a systemd unit for autoupdate system every Friday after 18:00. And everything work fine if I start service manually via systemctl start --user autoupd.service.
* autoupd.service - ...
4
votes
1
answer
2k
views
Scheduled bash script using systemd timer
I wanted to change my wallpaper periodically and randomly from a folder with pictures.
I used the program "feh" and wrote a little script with bash called wallpaperscript.sh:
#!/bin/bash
files=(/...
0
votes
1
answer
2k
views
Systemd timer starts using 90% CPU randomly
My laptop doesn't send ACPI discharge events reliably, so I created a Systemd timer and service to periodically poll the battery level and decide if the computer should hibernate. However, some random ...