18 lines
1.0 KiB
Plaintext
18 lines
1.0 KiB
Plaintext
|
# @see https://worker.graphile.org/docs/cron
|
||
|
#
|
||
|
# ┌───────────── UTC minute (0 - 59)
|
||
|
# │ ┌───────────── UTC hour (0 - 23)
|
||
|
# │ │ ┌───────────── UTC day of the month (1 - 31)
|
||
|
# │ │ │ ┌───────────── UTC month (1 - 12)
|
||
|
# │ │ │ │ ┌───────────── UTC day of the week (0 - 6) (Sunday to Saturday)
|
||
|
# │ │ │ │ │ ┌───────────── task (identifier) to schedule
|
||
|
# │ │ │ │ │ │ ┌────────── optional scheduling options
|
||
|
# │ │ │ │ │ │ │ ┌────── optional payload to merge
|
||
|
# │ │ │ │ │ │ │ │
|
||
|
# │ │ │ │ │ │ │ │
|
||
|
# * * * * * task ?opts {payload}
|
||
|
|
||
|
|
||
|
## every n minutes, we see which /records are stale and we mark them as such.
|
||
|
## this prevents stalled Record updates by marking stalled recordings as stopped
|
||
|
* * * * * expire_stream_recordings ?max=1 { idle_minutes:2 }
|