From 8ffb6931057db98de4e4a3a71d6f4f419ae74d75 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 29 Jan 2024 12:26:38 -0500 Subject: [PATCH] fix: drop -- when calling dokku run for cron-tab templating Closes #6541 --- plugins/cron/cron.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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