From 638c697dece24205c45e76afc1204935f3dc710c Mon Sep 17 00:00:00 2001 From: sixcorners Date: Fri, 27 Mar 2020 07:57:04 -0500 Subject: [PATCH] Copy note about setting both interval and schedule --- docs/arguments.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/arguments.md b/docs/arguments.md index 7e55dc4..e55bd3b 100644 --- a/docs/arguments.md +++ b/docs/arguments.md @@ -119,7 +119,7 @@ Environment Variable: WATCHTOWER_REVIVE_STOPPED ``` ## Poll interval -Poll interval (in seconds). This value controls how frequently watchtower will poll for new images. +Poll interval (in seconds). This value controls how frequently watchtower will poll for new images. Either `--schedule` or a poll interval can be defined, but not both. ``` Argument: --interval, -i @@ -192,7 +192,8 @@ Environment Variable: WATCHTOWER_RUN_ONCE ``` ## Scheduling -[Cron expression](https://godoc.org/github.com/robfig/cron#hdr-CRON_Expression_Format) in 6 fields (rather than the traditional 5) which defines when and how often to check for new images. Either `--interval` or the schedule expression could be defined, but not both. An example: `--schedule "0 0 4 * * *"` +[Cron expression](https://godoc.org/github.com/robfig/cron#hdr-CRON_Expression_Format) in 6 fields (rather than the traditional 5) which defines when and how often to check for new images. Either `--interval` or the schedule expression +can be defined, but not both. An example: `--schedule "0 0 4 * * *"` ``` Argument: --schedule, -s