Talk:Systemd/Timers

From ArchWiki
< Talk:Systemd
Revision as of 18:47, 12 January 2014 by Neitsab (Talk | contribs) ("Monthy events" absence interrogations)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Monthly events

Is there any specific reason why "monthly" timing isn't presented? A limitation in systemd workings or whatever? I was more feeling like setting the "pkgstats.service" to run once a month, this is how I realized I hadn't created such folder by following the article.

Only modifications -- apart from substituting "weekly" by "monthly" everywhere relevant -- seem to be in the [Timer] section:

/etc/systemd/system/timer-monthly.timer
[Unit]
Description=Monthly Timer

[Timer]
OnBootSec=20min
OnUnitActiveSec=1m
Unit=timer-monthly.target

[Install]
WantedBy=basic.target
/etc/systemd/system/timer-monthly.target
[Unit]
Description=Monthly Timer Target
StopWhenUnneeded=yes

If that seems ok to you I'll add it and update mkdir/systemctl instructions accordingly.

Neitsab (talk) 18:47, 12 January 2014 (UTC)