--scheduleargument in the
docker-compose.ymlfile, 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 like
commandconfiguration, please remove the
--intervalargument and the value
300next to it, and in it’s place, add a
--scheduleand 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)