Merge pull request #6542 from dokku/6541-cron-template

Drop -- when calling dokku run for cron-tab templating
This commit is contained in:
Jose Diaz-Gonzalez
2024-01-29 12:51:42 -05:00
committed by GitHub

View File

@@ -51,7 +51,7 @@ func (t TemplateCommand) CronCommand() string {
return t.AltCommand return t.AltCommand
} }
return fmt.Sprintf("dokku run --cron-id %s %s -- %s", t.ID, t.App, t.Command) return fmt.Sprintf("dokku run --cron-id %s %s %s", t.ID, t.App, t.Command)
} }
// FetchCronEntries returns a list of cron commands for a given app // FetchCronEntries returns a list of cron commands for a given app