From 5f13cc4d964f7f04806465f2a80e7bb0e1880d31 Mon Sep 17 00:00:00 2001 From: ergosteur <1992147+ergosteur@users.noreply.github.com> Date: Thu, 6 Aug 2026 16:12:52 +0000 Subject: [PATCH] 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 --- cron.d/download-virtio-win | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cron.d/download-virtio-win diff --git a/cron.d/download-virtio-win b/cron.d/download-virtio-win new file mode 100644 index 0000000..532346d --- /dev/null +++ b/cron.d/download-virtio-win @@ -0,0 +1,10 @@ +# 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/