Skip to content

Commit

Permalink
Add systemd timer to generate daily history
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhnik committed Aug 26, 2023
1 parent a85772d commit 649bd67
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions systemd/gallery-daily.service
@@ -0,0 +1,8 @@
[Unit]
Description=Prepare "this day in past years" gallery

[Service]
Type=oneshot
ExecStart=/usr/bin/python /home/sakhnik/work/shotwell-view/daily.py
User=sakhnik
Group=users
9 changes: 9 additions & 0 deletions systemd/gallery-daily.timer
@@ -0,0 +1,9 @@
[Unit]
Description=Generate "this day in past years" gallery daily

[Timer]
OnCalendar=*-*-* 4:00:00
Persistent=true

[Install]
WantedBy=timers.target

0 comments on commit 649bd67

Please sign in to comment.