From 33402355405ce778c1bea1d10c3ca2e9070d6947 Mon Sep 17 00:00:00 2001 From: 4xfu <33265329+4xfu@users.noreply.github.com> Date: Thu, 23 Dec 2021 12:26:34 +0100 Subject: [PATCH] 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 --- docs/en/admins/08_FeedUpdates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ```