diff options
Diffstat (limited to 'crontab_calls.patch')
-rw-r--r-- | crontab_calls.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/crontab_calls.patch b/crontab_calls.patch new file mode 100644 index 000000000000..b02796523747 --- /dev/null +++ b/crontab_calls.patch @@ -0,0 +1,27 @@ +--- a/plugins/cron/functions.go 2021-06-07 02:25:18.000000000 +0200 ++++ b/plugins/cron/functions.go 2021-07-12 15:58:47.292094682 +0200 +@@ -81,13 +81,13 @@ + } + + func deleteCrontab() error { +- command := common.NewShellCmd("crontab -l -u dokku") ++ command := common.NewShellCmd("crontab -l") + command.ShowOutput = false + if !command.Execute() { + return nil + } + +- command = common.NewShellCmd("crontab -r -u dokku") ++ command = common.NewShellCmd("crontab -r") + command.ShowOutput = false + out, err := command.CombinedOutput() + if err != nil { +@@ -163,7 +163,7 @@ + return fmt.Errorf("Unable to template out schedule file: %v", err) + } + +- command := common.NewShellCmd(fmt.Sprintf("crontab -u dokku %s", tmpFile.Name())) ++ command := common.NewShellCmd(fmt.Sprintf("crontab %s", tmpFile.Name())) + command.ShowOutput = false + out, err := command.CombinedOutput() + if err != nil { |