Commit 4f5ebb98 authored by Alain Takoudjou's avatar Alain Takoudjou

set cron entries into /etc/cron.d

parent e6c2e9d3
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
cron: name="Update vm bootstrap" cron: name="Update vm bootstrap"
minute="*/12" minute="*/12"
job="bash -lc /usr/local/bin/vm-bootstrap-update >> /var/log/vm-bootstrap.log" job="bash -lc /usr/local/bin/vm-bootstrap-update >> /var/log/vm-bootstrap.log"
cron_file=ansible-vm-bootstrap user="root"
- name: Check if /opt/slapos.playbook already exists - name: Check if /opt/slapos.playbook already exists
file: path=/opt/slapos.playbook/ state=directory file: path=/opt/slapos.playbook/ state=directory
......
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
cron: name="Upload ansible files to http server" cron: name="Upload ansible files to http server"
minute="*/7" minute="*/7"
job="/usr/local/bin/ansible-upload-vm-logs http://10.0.2.100/ /var/log/vm-bootstrap.log > /var/log/ansible-upload.log" job="/usr/local/bin/ansible-upload-vm-logs http://10.0.2.100/ /var/log/vm-bootstrap.log > /var/log/ansible-upload.log"
cron_file=ansible-upload-log user="root"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment