Fix generation of crontab
There was a missing placeholder in the template string. That caused that `%!(EXTRA string=...` is added to the crontab file which causes commands to fail.
This commit is contained in:
@@ -33,7 +33,7 @@ func (t templateCommand) CronCommand() string {
|
|||||||
return t.AltCommand
|
return t.AltCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Sprintf("dokku --rm run --cron-id %s %s", t.ID, t.App, t.Command)
|
return fmt.Sprintf("dokku --rm run --cron-id %s %s %s", t.ID, t.App, t.Command)
|
||||||
}
|
}
|
||||||
|
|
||||||
func fetchCronEntries(appName string) ([]templateCommand, error) {
|
func fetchCronEntries(appName string) ([]templateCommand, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user