Files
ergo-proxmox-scripts/cron.d/download-virtio-win
T
ergosteurandClaude Opus 5 5f13cc4d96 Add corrected virtio-win download cron entry
The deployed /etc/cron.d/download-virtio-win never ran. It omitted the user
field that /etc/cron.d entries require between the schedule and the command,
so cron parsed the script path as a username, and its day-of-month field was
0, outside the valid range of 1-31.

Corroborated on the host: the newest ISO is virtio-win-0.1.285 from
2025-09-20, the same day the cron file was created.

Pass --cron so a no-op run emits no progress bar and generates no cron mail.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 16:12:52 +00:00

11 lines
533 B
Plaintext

# Fetch the latest virtio-win ISO nightly. Install to /etc/cron.d/download-virtio-win.
#
# /etc/cron.d entries take a user field between the schedule and the command,
# which the previous version omitted, so cron parsed the script path as the
# username. Its day-of-month field was also 0, which is out of range (1-31).
# Between them the job never ran.
#
# --cron suppresses the progress bar so a no-op run produces no cron mail.
0 0 * * * root /opt/ergosteur/download-virtio-win-progress.py --cron --dir /var/lib/vz/template/iso/