summaryrefslogtreecommitdiffstats
path: root/modules/cron/templates/timer
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-27 00:08:27 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-27 00:08:27 -0500
commit991d4222c095b20d896866c39b877ea1290cb017 (patch)
tree251479529d4036de5c4ebf449e1320105767dacb /modules/cron/templates/timer
parent528974eb4b1b9316d2d6082771466c42b562c163 (diff)
downloadpuppet-tozt-991d4222c095b20d896866c39b877ea1290cb017.tar.gz
puppet-tozt-991d4222c095b20d896866c39b877ea1290cb017.zip
convert the custom cron::job class to systemd
Diffstat (limited to 'modules/cron/templates/timer')
-rw-r--r--modules/cron/templates/timer6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/cron/templates/timer b/modules/cron/templates/timer
new file mode 100644
index 0000000..3a22a79
--- /dev/null
+++ b/modules/cron/templates/timer
@@ -0,0 +1,6 @@
+[Timer]
+OnCalendar=<%= @frequency %>
+Persistent=True
+
+[Install]
+WantedBy=timers.target