goaccess v1.2 does not work at all from a crontab

Created on 27 Mar 2017  路  2Comments  路  Source: allinurl/goaccess

Hi,

since v1.2 my crontab dont work at all .

The log of the crontab display the help of goaccess instead of dealing with my log file

here is my crontab

0 1     * * *  root /bin/zcat /var/log/nginx/service.log.*.gz |/usr/bin/goaccess -g -a -o /path/to/report.html

when I run that by hand it's working fine.

log-processing question

Most helpful comment

Please make sure to use a single dash -, e.g.,

/bin/zcat /var/log/nginx/service.log.*.gz |/usr/bin/goaccess -g -a -o /path/to/report.html -

All 2 comments

Please make sure to use a single dash -, e.g.,

/bin/zcat /var/log/nginx/service.log.*.gz |/usr/bin/goaccess -g -a -o /path/to/report.html -

Yes ! Thanks :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

narayan1599 picture narayan1599  路  3Comments

konungrl picture konungrl  路  3Comments

ychunc picture ychunc  路  3Comments

LoanDEV picture LoanDEV  路  3Comments

vivekkrish picture vivekkrish  路  3Comments