Commit ea6c7286 authored by Rafael Monnerat's avatar Rafael Monnerat

Include "slapos node collect" periodical run

  Run slapos node collect every minute to take servers
  snapshot.
parent c66e034d
......@@ -14,3 +14,6 @@ MAILTO=""
# Run "Booting" on every system start
@reboot root /opt/slapos/bin/slapos node boot >> /opt/slapos/log/slapos-node-format.log 2>&1
# Run "Collect" once a minute
* * * * * root /opt/slapos/bin/slapos node collect >> /opt/slapos/log/slapos-node-collect.log 2>&1
......@@ -10,6 +10,17 @@
sharedscripts
}
/opt/slapos/log/slapos-node-collect.log {
nocompress
dateext
daily
rotate 14
missingok
notifempty
create 640 root root
sharedscripts
}
/opt/slapos/log/slapos-node-format.log {
nocompress
dateext
......
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