diff options
author | Angristan <stanislas.lange@protonmail.com> | 2017-04-04 17:23:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 17:23:56 +0200 |
commit | 2fcf8d79ad3e7051e0089741ed00ec0eff0de637 (patch) | |
tree | 99a879f743390aa236732a8bfd841b9ec04b4d7d /docs | |
parent | 5f54981846508daf9558f66ffd70d42d8213bea9 (diff) |
Fix crontab edit
Missing -u parameter to specify the mastodon user.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Running-Mastodon/Production-guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Running-Mastodon/Production-guide.md b/docs/Running-Mastodon/Production-guide.md index 469fefa94..2c8db20b7 100644 --- a/docs/Running-Mastodon/Production-guide.md +++ b/docs/Running-Mastodon/Production-guide.md @@ -221,7 +221,7 @@ I recommend creating a couple cronjobs for the following tasks: You may want to run `which bundle` first and copypaste that full path instead of simply `bundle` in the above commands because cronjobs usually don't have all the paths set. The time and intervals of when to run these jobs are up to you, but once every day should be enough for all. -You can edit the cronjob file for the `mastodon` user by running `sudo crontab -e mastodon` (outside of the mastodon user). +You can edit the cronjob file for the `mastodon` user by running `sudo crontab -e -u mastodon` (outside of the mastodon user). ## Things to look out for when upgrading Mastodon |