Skip to content

Commit

Permalink
Added timer service for automation
Browse files Browse the repository at this point in the history
  • Loading branch information
ar51an committed Jul 21, 2022
1 parent 0b63b2f commit 501362e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions systemd-timer/motd-update.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Unit]
Description=Motd upgradable package count service
After=network.target

[Service]
ExecStart=run-parts /etc/update-motd-static.d
9 changes: 9 additions & 0 deletions systemd-timer/motd-update.timer
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Unit]
Description=Motd upgradable package count timer - Daily at 8:00PM

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

[Install]
WantedBy=timers.target

0 comments on commit 501362e

Please sign in to comment.