diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2019-01-24 16:09:51 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2019-01-24 16:09:51 +0100 |
commit | d843cd651c99299cb1f991f693b4e59cf77d9cd8 (patch) | |
tree | 3d8425922c8d7ec9d6418b4c8c8302a2033ed03a | |
parent | 5577b2c2285cbe0fd8bf4b0d6d3d86dc05f3c644 (diff) |
One timer is expected to trigger the 3rd of every even month (e.g. Feb,
Apr, Jun, Aug, Oct, Dec).
The other is expected to trigger the 3rd of every other month.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r-- | sigexec-gen-dkim-key-even.timer | 11 | ||||
-rw-r--r-- | sigexec-gen-dkim-key-odd.timer | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sigexec-gen-dkim-key-even.timer b/sigexec-gen-dkim-key-even.timer new file mode 100644 index 0000000..00ef422 --- /dev/null +++ b/sigexec-gen-dkim-key-even.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Generation of new DKIM key for sigexec.com the 3rd of every even month + +[Timer] +OnCalendar=*-02/2-03 +AccuracySec=1d +Persistent=false +Unit=sigexec-gen-dkim-key@even.service + +[Install] +WantedBy=timers.target diff --git a/sigexec-gen-dkim-key-odd.timer b/sigexec-gen-dkim-key-odd.timer new file mode 100644 index 0000000..3e100f5 --- /dev/null +++ b/sigexec-gen-dkim-key-odd.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Generation of new DKIM key for sigexec.com the 3rd of every odd month + +[Timer] +OnCalendar=*-01/2-03 +AccuracySec=1d +Persistent=false +Unit=sigexec-gen-dkim-key@odd.service + +[Install] +WantedBy=timers.target |