This allows alternative plugins - such as dokku-letsencrypt - to inject scheduled cron tasks into the cron system used by Dokku. Cron systems can choose to include or not include a cron task based on the specified scheduler, and can also optionally use a third parameter to store arbitrary information.
7 lines
142 B
Cheetah
7 lines
142 B
Cheetah
PATH=/usr/local/bin:/usr/bin:/bin
|
|
SHELL=/bin/bash
|
|
|
|
{{ range $entry := .Commands -}}
|
|
{{ $entry.Schedule }} {{ $entry.CronCommand }}
|
|
{{ end -}}
|