I already set up a system timer that trigger a systemd service. I use only debian-13 for template. So I put 2 systemd files at /etc/systemd/system/ folder inside debian-13. Systemd service run a bash script. Systemd timer use OnCalendar=--* that runs at specific times.
Those 3 files I used only one AppVM. It works perfect with one problem. Persistent=true inside timer not save to hard disk then when I reboot qubes or AppVm systemd service run again.
@barto yes. but run again and again. I want to run ONLY the time oncalendar. If timer events to be run as soon as the system is running again but only ONCE .
Are you kidding me? First of all THANK YOU. It is the second question that you don’t read . I said in my firrst question that I put the same folder that I have the problem.
Rude.
If you take time to read what was written in this thread, you will understand why do you have the problem you have. A problem which you should have taken time to properly explain in the first post, instead of being rude later. We are not in your head. Bye.
Try creating the .timer and .service files as user units (in /etc/systemd/user/ in the TemplateVM), and run sudo systemctl --user --global enable your.timer (also in the TemplateVM).
The timestamp state files for user timers are saved in ~/.local/share/systemd/timers/ on the AppVM’s ‘private’ volume, so they’ll survive a reboot of the AppVM.
I put the directory you said. When I try to enable then I show the error message.
Failed to enable unit: Unit /etc/systemd/user/timers.target.wants/backup_untrusted.timer does not exist
Please keep language professional and as you would have others talk to you. I note from your other replies that English is not your first language, so just to make you aware that your reply does come over as rude and confrontational. People here are a community who are helping voluntarily, please bear in mind how you reply to those giving their time to you by trying to help you