@WebRanger1 wrote:
I tried to setup Crontab to Automatically Archive the Reports in Linux using the instruction on this page - How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo
/etc/cron.d# nano piwik-archive
ADDED
MAILTO="bill@website-wi.com"
5 * * * * www-data /usr/bin/php7.0 /path/to/piwik/console core:archive --url=https://website-wi.com/piwik/ > /httpdocs/piwik/LOGS/piwik-archive.logbut when I tested it like the instructions said
su www-data -s /bin/bash -c "/usr/bin/php7.0 /path/to/piwik/console core:archive --url=https://website-wi.com/piwik/
I got this error.
Could not open input file: /path/to/piwik/console
Posts: 4
Participants: 2