799 shaares
64 liens privés
64 liens privés
Pour une mise à jour des flux automatique, créer ce timer :
# /etc/systemd/system/freshrss.timer
[Unit]
Description=FreshRSS get new content
[Timer]
OnBootSec=30s
OnUnitActiveSec=1d
[Install]
WantedBy=timers.target
Et ce service :
# /etc/systemd/system/freshrss.service
[Unit]
Description=FreshRSS get new content
Wants=freshrss.timer
[Service]
User=www-data
Type=simple
ExecStart=/usr/bin/php /var/www/rss.casami.fr/app/actualize_script.php