Merge pull request #6542 from dokku/6541-cron-template
Drop -- when calling dokku run for cron-tab templating
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user