[Unit] Description=w3cs resource-bundle upload to R2/CDN [Service] Type=oneshot # Run only with at least one of the four cores free (1-minute load # average below 3.0); otherwise skip — the timer retries in 10 minutes. ExecCondition=/usr/bin/awk '{exit ($1 >= 3.0)}' /proc/loadavg # Even when it runs, live seats always win the CPU and the disk. Nice=10 CPUWeight=25 IOSchedulingClass=idle ExecStart=/usr/local/sbin/w3cs-bundle-upload.sh