linuxserver / docker-freshrss

GNU General Public License v3.0
157 stars 24 forks source link

/etc/cron.d/freshrss incorrect #2

Closed brycetryan closed 7 years ago

brycetryan commented 8 years ago

Hi, currently the freshrss cron file in /etc/cron.d does not run properly. When interrogating the cron syslog the following error is thrown:

Error: bad username; while reading /etc/cron.d/freshrss ERROR (Syntax error, this crontab file will be ignored)

The cron file needs to be modified to include the user who is running the job. A line like below is now successfully running for me: /15 * * * \ root php /config/www/freshrss/app/actualize_script.php > /tmp/FreshRSS.log 2>&1

phendryx commented 7 years ago

In addition to that, the permissions are wrong on the cron file. Both issues have been addressed in #6. Should be merged soon.