Merge pull request #2136 from dokku/josegonzalez-patch-1
Use `sleep infinity` for enter cron task
This commit is contained in:
@@ -74,7 +74,7 @@ dokku enter node-js-app web python script/background-worker.py
|
|||||||
Your procfile can have the following entry:
|
Your procfile can have the following entry:
|
||||||
|
|
||||||
```
|
```
|
||||||
cron: while true; do sleep 10; done
|
cron: sleep infinity
|
||||||
```
|
```
|
||||||
|
|
||||||
With the `cron` process scaled to `1`:
|
With the `cron` process scaled to `1`:
|
||||||
|
|||||||
Reference in New Issue
Block a user