If you inspect the generated timer you see the same format in the OnCalendar line.
What do you mean by persisted? The service and timer will both be there as long as the timer doesn’t end. Which it won’t in my example.
If you want to copy it for later reference, you can simply copy the files.
WhyJiffie@sh.itjust.works 6 days ago
but without the command
I mean saved to a file so that it will still be there after reboot
helix@feddit.org 6 days ago
Yeah, but that’s an easy one to parse, if you really need it.
I’m pretty sure if you use OnCalendar it will still be there after a reboot. Let me check.