diff options
| author | 2021-12-23 12:26:34 +0100 | |
|---|---|---|
| committer | 2021-12-23 12:26:34 +0100 | |
| commit | 33402355405ce778c1bea1d10c3ca2e9070d6947 (patch) | |
| tree | d1ca2e756be317b6eb91cb3c86501fd513632486 | |
| parent | 7a81865e4163936ebd6416ba19a33b75a8532965 (diff) | |
Correct cron example (#4079)
The old example was inaccurate. crontab on Debian does not support a user name, but files in /etc/cron.d and /etc/crontab do (see https://manpages.debian.org/bullseye/cron/crontab.5.en.html)
According to https://manpages.debian.org/bullseye/cron/cron.8.en.html : In general, the system administrator should not use /etc/cron.d/, but use the standard system crontab /etc/crontab so I propose to append the line to this file
| -rw-r--r-- | docs/en/admins/08_FeedUpdates.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/en/admins/08_FeedUpdates.md b/docs/en/admins/08_FeedUpdates.md index a2e8e7ce6..e1a02af31 100644 --- a/docs/en/admins/08_FeedUpdates.md +++ b/docs/en/admins/08_FeedUpdates.md @@ -18,7 +18,7 @@ It's advisable that you run the Cron job as your Web server user (often `www-dat To run the updater script every hour, and 10 minutes past the hour: -Run `sudo crontab -e` and copy the following line into the crontab: +Edit `/etc/crontab` and append the following line: ```text 10 * * * * www-data php -f /usr/share/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1 ``` |
