diff --git a/plugins/cron/cron.go b/plugins/cron/cron.go index 036d34413..de65de156 100644 --- a/plugins/cron/cron.go +++ b/plugins/cron/cron.go @@ -51,7 +51,7 @@ func (t TemplateCommand) CronCommand() string { 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