--schedule
argument in the auto_update
container’s command.docker-compose.yml
file, scroll to the configurations of the container with image containrrr/watchtower
. It'll be named either auto_update or watchtower. This is what your configuration will look likecommand
configuration, please remove the --interval
argument and the value 300
next to it, and in it’s place, add a --schedule
and a cron expression defining an update interval of your choice. Your new configuration will look like below.ℹ️ Note that a 6-value cron expression is expected here, not the traditional 5-value one. For details on how the expression works, please refer to (https://pkg.go.dev/github.com/robfig/[email protected]#hdr-CRON_Expression_Format)