mirror of
https://github.com/crazy-max/diun.git
synced 2025-04-11 06:01:21 +00:00
Update schedule examples
This commit is contained in:
parent
f484bda7a5
commit
524019c900
4 changed files with 10 additions and 10 deletions
docs
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue