Bug Report Checklist
Bug Description
Cron schedule parsing is failing when schedule is configured
Steps to Reproduce
- Start watchtower with WATCHTOWER_SCHEDULE configured
- Check logs and you can find the error
Expected Behavior
That the container starts without errors and that it will run on the scheduled time
Watchtower Version
v1.17.2
Docker Version
Docker Info (optional)
Docker Compose Configuration
services:
watchtower:
container_name: watchtower
image: nickfedor/watchtower
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_SCHEDULE="0 0 2 * * *"
- TZ="Europe/Brussels"
- WATCHTOWER_NOTIFICATIONS=shoutrrr
- WATCHTOWER_NOTIFICATION_URL=ntfy://XYZ
- WATCHTOWER_CLEANUP=true
Docker CLI Command
Debug Logs
time="2026-05-24T08:18:09Z" level=error msg="Scheduled upgrades failed" error="failed to schedule updates: failed to parse int from "0: strconv.Atoi: parsing "\"0": invalid syntax"
Additional Context
No response
Bug Report Checklist
latestimage, and confirmed that the issue persists.Bug Description
Cron schedule parsing is failing when schedule is configured
Steps to Reproduce
Expected Behavior
That the container starts without errors and that it will run on the scheduled time
Watchtower Version
v1.17.2
Docker Version
Docker Info (optional)
Docker Compose Configuration
Docker CLI Command
Debug Logs
time="2026-05-24T08:18:09Z" level=error msg="Scheduled upgrades failed" error="failed to schedule updates: failed to parse int from "0: strconv.Atoi: parsing "\"0": invalid syntax"
Additional Context
No response