Cron management
Automax manages /etc/cron.d entries with explicit files, which keeps changes auditable and easy to remove.
- id: install_healthcheck_cron
use: system.cron.entry.add
with:
name: myapp-health
schedule: "*/5 * * * *"
user: root
command: /usr/local/bin/myapp-healthcheck
sudo: true
Use system.cron.file when a full cron.d file must be installed verbatim.