17 lines
963 B
Plaintext
17 lines
963 B
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 12 hours, we update the patrons table, synchronizing it with Patreon API.
|
||
|
* */12 * * * synchronize_patrons_list ?max=1
|