aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ingress/etc_crontab.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ingress/etc_crontab.j2')
-rw-r--r--templates/ingress/etc_crontab.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ingress/etc_crontab.j2 b/templates/ingress/etc_crontab.j2
index e0c3d4e..d78e769 100644
--- a/templates/ingress/etc_crontab.j2
+++ b/templates/ingress/etc_crontab.j2
@@ -17,4 +17,4 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
{% endfor %}
# Update goaccess report HTML
-0 * * * * www (cat /var/log/nginx/access.log | awk '$8=$1$8' | /usr/local/bin/goaccess --log-format=VCOMBINED -j "$(($(nproc) + 1))" --keep-last=30 -a -o /var/www/goaccess/index.html --persist --restore)
+0 * * * * root /usr/local/bin/gen_goaccess.sh