diff options
| author | 2016-10-09 19:13:43 +0200 | |
|---|---|---|
| committer | 2016-10-09 19:13:43 +0200 | |
| commit | 39cd93e8bab7122558511994e8920eea1ac804a4 (patch) | |
| tree | 3e71b6cf8fbc3e33ef0df079b0a6744d4f2fc971 | |
| parent | 55fce1ef14649464463bf29132c54e8d690249c9 (diff) | |
Ubuntu example for Cron
https://github.com/FreshRSS/FreshRSS/issues/1180#issuecomment-252475962
| -rw-r--r-- | README.fr.md | 9 | ||||
| -rw-r--r-- | README.md | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/README.fr.md b/README.fr.md index e5f24f4e2..e96bf4239 100644 --- a/README.fr.md +++ b/README.fr.md @@ -109,7 +109,14 @@ C’est une bonne idée d’utiliser le même utilisateur que votre serveur Web Par exemple, pour exécuter le script toutes les heures : ``` -7 * * * * php /votre-chemin/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1 +8 * * * * php /votre-chemin/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1 +``` + +### Exemple pour Debian / Ubuntu +Créer `/etc/cron.d/FreshRSS` avec : + +``` +7,37 * * * * www-data php -f /usr/share/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1 ``` @@ -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 ``` |
