#!/bin/sh
##
##  matomo-cron.sh -- Matomo Cron Job Trigger
##

server=`grep '^Listen' @l_prefix@/etc/matomo/matomo-apache.conf | head -1 | awk '{ print $2; }'`
@l_prefix@/bin/wget -qO /dev/null "http://$server/misc/cron/archive.php?token_auth=XYZ" >/dev/null 2>&1 || true

