fix: improve dockcheck cron job logging and reliability
- Added comprehensive logging to /var/log/dockcheck/dockcheck.log - Created wrapper script to avoid cron variable escaping issues - Added timestamp logging for each execution with exit codes - Created proper log directory with correct permissions - Removed unnecessary -n flag (config file handles DontUpdate=true) - Added cron handlers for service management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6
roles/cron/handlers/main.yml
Normal file
6
roles/cron/handlers/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
# Handler to restart systemd-journald service
|
||||
- name: restart rsyslog
|
||||
systemd:
|
||||
name: systemd-journald
|
||||
state: restarted
|
Reference in New Issue
Block a user