[ { "id": "disk_space", "name": "Disk free space alert", "schedule": "0 */6 * * *", "execstr": "df -h / | tail -1 | awk '{if (int($5) > 90) print \"Disk usage over 90% on / — \" $0; exit 0}'", "description": "Print a line if root filesystem use exceeds 90% (extend with mail/curl as needed)." }, { "id": "yakpanel_backup", "name": "Run YakPanel scheduled backups", "schedule": "15 * * * *", "execstr": "curl -fsS -H \"Authorization: Bearer YOUR_TOKEN\" http://127.0.0.1:8889/api/v1/backup/run-scheduled || true", "description": "Example: call the panel backup API hourly (set token and port; prefer localhost + firewall)." }, { "id": "clear_tmp", "name": "Clean old temp files", "schedule": "0 3 * * *", "execstr": "find /tmp -type f -atime +7 -delete 2>/dev/null || true", "description": "Remove files in /tmp not accessed in 7 days." }, { "id": "php_fpm_ping", "name": "PHP-FPM socket check", "schedule": "*/10 * * * *", "execstr": "test -S /tmp/php-cgi-74.sock && exit 0 || echo \"php-fpm 74 socket missing\"", "description": "Adjust php version/socket path for your stack." } ]