Add standalone "Tipy dne" script with systemd service and timer
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# systemd timer for tipy-dne.service — regenerates "Tipy dne" daily.
|
||||
# Enable with: systemctl enable --now tipy-dne.timer
|
||||
|
||||
[Unit]
|
||||
Description=Daily regeneration of the "Tipy dne" Filmotéka folder
|
||||
|
||||
[Timer]
|
||||
# Every day at 06:00 (server local time). Change as needed, e.g. "hourly".
|
||||
OnCalendar=*-*-* 06:00:00
|
||||
# Catch up if the machine was off at the scheduled time.
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user