summaryrefslogtreecommitdiff
path: root/task-master-client.yaml
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-03-26 17:22:36 +0300
committereug-vs <eugene@eug-vs.xyz>2022-03-26 17:22:36 +0300
commit32154fb5c472691e7a1a26d4f2a57dacfcd9360d (patch)
tree4cf421a75e4157a81fdf61451378e6678eb448e3 /task-master-client.yaml
parent61d7461304682b1472ef569a842ca770e838c000 (diff)
downloadinfrastructure-32154fb5c472691e7a1a26d4f2a57dacfcd9360d.tar.gz
feat: add cronjobs
Diffstat (limited to 'task-master-client.yaml')
-rw-r--r--task-master-client.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/task-master-client.yaml b/task-master-client.yaml
index e020446..fe982be 100644
--- a/task-master-client.yaml
+++ b/task-master-client.yaml
@@ -40,6 +40,13 @@
cp ca.cert.pem /home/eug-vs/.config/task
chown -R eug-vs:eug-vs /home/eug-vs/.config/task
+ # This is a workaround to https://github.com/GothenburgBitFactory/taskserver/issues/46
+ - name: Create recurrence cronjob
+ cron:
+ name: "Create recurrent tasks"
+ minute: "0"
+ job: "/usr/bin/task sync && /usr/bin/task && /usr/bin/task sync"
+
- name: Run task sync init
shell: task sync init