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:
1 parent
cd97ac3388
commit
b4db0c1a6c
1 file changed
+1
-1
@@ -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