aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-09 19:13:43 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-09 19:13:43 +0200
commit39cd93e8bab7122558511994e8920eea1ac804a4 (patch)
tree3e71b6cf8fbc3e33ef0df079b0a6744d4f2fc971 /README.md
parent55fce1ef14649464463bf29132c54e8d690249c9 (diff)
Ubuntu example for Cron
https://github.com/FreshRSS/FreshRSS/issues/1180#issuecomment-252475962
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index f5eb38499..01ce290ac 100644
--- a/README.md
+++ b/README.md
@@ -109,7 +109,14 @@ It’s a good idea to use the Web server user.
For example, if you want to run the script every hour:
```
-7 * * * * php /your-path/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1
+9 * * * * php /usr/share/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1
+```
+
+### Example on Debian / Ubuntu
+Create `/etc/cron.d/FreshRSS` with:
+
+```
+6,36 * * * * www-data php -f /usr/share/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1
```