diff --git a/docs/config/index.md b/docs/config/index.md index e4e2fcae..89977c01 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -31,7 +31,7 @@ You can override this using the [`--config` flag or `CONFIG` env var](../usage/c watch: workers: 10 - schedule: "0 * * * *" + schedule: "0 */6 * * *" firstCheckNotif: false notif: @@ -116,7 +116,7 @@ All configuration from file can be transposed into environment variables. As an watch: workers: 10 - schedule: "0 * * * *" + schedule: "0 */6 * * *" firstCheckNotif: false notif: @@ -164,7 +164,7 @@ Can be transposed to: DIUN_DB_PATH=diun.db DIUN_WATCH_WORKERS=10 - DIUN_WATCH_SCHEDULE=0 * * * * + DIUN_WATCH_SCHEDULE=0 */6 * * * DIUN_WATCH_FIRSTCHECKNOTIF=false DIUN_NOTIF_GOTIFY_ENDPOINT=http://gotify.foo.com diff --git a/docs/config/watch.md b/docs/config/watch.md index 03b2aa39..87ee42f2 100644 --- a/docs/config/watch.md +++ b/docs/config/watch.md @@ -5,7 +5,7 @@ ```yaml watch: workers: 10 - schedule: "0 * * * *" + schedule: "0 */6 * * *" firstCheckNotif: false healthchecks: baseURL: https://hc-ping.com/ @@ -34,7 +34,7 @@ Maximum number of workers that will execute tasks concurrently. (default `10`) !!! example "Config file" ```yaml watch: - schedule: "0 * * * *" + schedule: "0 */6 * * *" ``` !!! abstract "Environment variables" diff --git a/docs/migration/v3-to-v4.md b/docs/migration/v3-to-v4.md index 2f70b016..44cd773f 100644 --- a/docs/migration/v3-to-v4.md +++ b/docs/migration/v3-to-v4.md @@ -67,7 +67,7 @@ In order to enable transposition into environmental variables, all fields in con watch: workers: 10 - schedule: "0 * * * *" + schedule: "0 */6 * * *" first_check_notif: false notif: @@ -149,7 +149,7 @@ In order to enable transposition into environmental variables, all fields in con watch: workers: 10 - schedule: "0 * * * *" + schedule: "0 */6 * * *" firstCheckNotif: false notif: diff --git a/docs/providers/file.md b/docs/providers/file.md index c9d67a9f..2ca70205 100644 --- a/docs/providers/file.md +++ b/docs/providers/file.md @@ -14,7 +14,7 @@ db: watch: workers: 20 - schedule: "* * * * *" + schedule: "0 */6 * * *" regopts: - name: "myregistry" @@ -88,7 +88,7 @@ db: watch: workers: 20 - schedule: "* * * * *" + schedule: "0 */6 * * *" regopts: - name: "docker.bintray.io" @@ -125,7 +125,7 @@ Sat, 14 Dec 2019 15:32:28 UTC INF New image found id=crazymax/cloudflared image= Sat, 14 Dec 2019 15:32:28 UTC INF New image found id=crazymax/cloudflared image=docker.io/crazymax/cloudflared:2019.9.1 provider=file Sat, 14 Dec 2019 15:32:28 UTC INF New image found id=crazymax/cloudflared image=docker.io/crazymax/cloudflared:2019.10.4 provider=file Sat, 14 Dec 2019 15:32:28 UTC INF New image found id=docker.bintray.io/jfrog/xray-mongo:3.2.6 image=docker.bintray.io/jfrog/xray-mongo:3.2.6 provider=file -Sat, 14 Dec 2019 15:32:28 UTC INF Cron initialized with schedule * * * * * +Sat, 14 Dec 2019 15:32:28 UTC INF Cron initialized with schedule 0 */6 * * * Sat, 14 Dec 2019 15:32:28 UTC INF Next run in 31 seconds (2019-12-14 15:33:00 +0000 UTC) ```