add curl_scheduled role
This commit is contained in:
12
roles/curl_scheduled/templates/placeholder.timer
Normal file
12
roles/curl_scheduled/templates/placeholder.timer
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Trigger a curl command designated '{{ label }}'
|
||||
Requires=curl-{{ label }}.service
|
||||
|
||||
[Timer]
|
||||
Unit=curl-{{ label }}.service
|
||||
OnCalendar={{ schedule }}
|
||||
AccuracySec=1m
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user