add .service and .timer for profile stats script
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# lives at ~/.config/systemd/user/profile-stats.timer
|
||||
|
||||
# User-level systemd timer that "catches up" missed runs if the machine was off.
|
||||
[Unit]
|
||||
Description=Schedule update_profile.py with catch-up if missed
|
||||
|
||||
[Timer]
|
||||
# Change this to your desired schedule; examples:
|
||||
# OnCalendar=daily
|
||||
# OnCalendar=Mon..Fri 09:00
|
||||
# See man systemd.time for syntax.
|
||||
OnCalendar=daily
|
||||
Timezone=America/New_York
|
||||
Persistent=true
|
||||
Unit=profile-stats.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user