mirror of
https://github.com/dokku/dokku.git
synced 2026-02-23 19:50:34 +01:00
docs: fix reference to dokku user crontab in cron docs
[ci skip]
This commit is contained in:
committed by
GitHub
parent
a96ad0c10c
commit
82da43cfba
@@ -141,7 +141,7 @@ For tasks that will properly resume, you *should* use the above method, as runni
|
||||
|
||||
Regularly scheduled tasks can be a bit of a pain with Dokku. The following are general recommendations to follow to help ensure successful task runs.
|
||||
|
||||
- Use the `dokku` user's crontab.
|
||||
- Use the `dokku` user in your cron entry.
|
||||
- If you do not, the `dokku` binary will attempt to execute with `sudo`, and your cron run with fail with `sudo: no tty present and no askpass program specified`.
|
||||
- Add a `MAILTO` environment variable to ship cron emails to yourself.
|
||||
- Add a `PATH` environment variable or specify the full path to binaries on the host.
|
||||
|
||||
Reference in New Issue
Block a user