9 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
222
views
changing the podman-auto-update.timer configuration
I am trying to implement a system where I will be using podman quadlets and systemd for maintaining the service.
What I tried
Enabled the podman auto timer and verified
Edited the podman auto timer ...
-1
votes
2
answers
248
views
Systemd timers - how to get Epoch timestamps? [closed]
I am creating a shell script that needs to calculate e.g. durations between different timestamps.
When shown with list-timers:
systemctl list-timers my
NEXT LEFT LAST ...
-1
votes
1
answer
123
views
Systemd Timer failed to execute: Exec format error [closed]
I've been trying to create a new systemd timer to run a simple script that pushes my Obsidian vault to a private git repository. It is as close to identical as I can get to another systemd timer that ...
2
votes
1
answer
2k
views
How do I configure systemd timers to run three separate tasks one after the next at a specific time?
I have three tasks that are currently being run daily by cron, one after the next, as follows:
gatekeeper ~ # ls -l /etc/cron.daily/
total 92
-rwxr-xr-x 1 root root 3814 May 10 2019 1task-A.sh
-rwxr-...
2
votes
0
answers
759
views
systemd script for notify-send fails with error "The connection is closed"
I am trying to run a systemd timer. I am posting all the relevant files and the error below. I have posted the nodejs file but I tried with a simple shell script as well as explained in the Edit ...
4
votes
1
answer
2k
views
Execute systemd service just after another using a timer
I want the apt-update timer to run on Sunday night between 4:30 and 5:30, and right after, the apt-upgrade timer. I have these settings:
cat << 'EOF' > /etc/systemd/system/apt-daily.timer
[...
4
votes
1
answer
4k
views
Systemd timer scheduled for first start without manually starting or rebooting the server
Background
I have multiple (30+) custom services/timers which have the same structure (below in Contents section), but different timings. They have to be executed only when they are scheduled and ...
0
votes
1
answer
1k
views
systemd timer running at unspecified time
I am running sync.timer and sync.service unit files on systemd 245 (245.4-4ubuntu3.13). The service runs a simple curl script (/bin/sync.sh) and is scheduled to run nightly at some time between 1AM - ...
1
vote
1
answer
2k
views
systemd service not being triggered by its timer unit
Here is my service unit definition
[Unit]
Description=My Service
[Service]
ExecStart=/bin/bash -lc /usr/local/bin//myservice
# ExecStop=/bin/kill -15 $MAINPID
EnvironmentFile=/etc/myservice/config
...