Skip to content
Snippets Groups Projects
Commit b659e2b8 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Save cron task in file in /etc/cron.d

parent 624f58aa
No related branches found
No related tags found
1 merge request!38Allow configuring cron tasks for deployable website
Pipeline #3833 passed
...@@ -64,4 +64,5 @@ ...@@ -64,4 +64,5 @@
name: "{{item.name}}" name: "{{item.name}}"
special_time: "{{item.time}}" special_time: "{{item.time}}"
job: "{{item.command}}" job: "{{item.command}}"
cron_file: "website-{{website.name}}"
with_items: "{{website.crontasks|default([])}}" with_items: "{{website.crontasks|default([])}}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment