infra/ansible/inventory/host_vars/proxy/cron.yml

16 lines
306 B
YAML
Executable File

---
cron__jobs:
'collect-stats':
job: '/usr/local/lib/collect-stats > /dev/null 2>&1'
custom_files:
- dest: '/usr/local/lib/collect-stats'
content: |
#!/bin/bash
echo "-----" >> /root/stats.txt
date >> stats.txt
/sbin/status >> stats.txt