Email notifications cron archiving


#1

Hi all,

How do we turn off the email notification that gets sent every time the automatic archiving takes place, which in our case is every hour.

Btw, we’ve setup a cron job using Plesk.

Cheers,
G


(Matthieu Aubry) #2

You shouldn’t receive an email every time, what does this email say? It should only send email if there was an error, as per instructions in How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo


#3

Well, it sends xml in the mail like this:

Starting Piwik reports archiving…

Archiving period = day for idsite = 1…

<?xml version="1.0" encoding="utf-8" ?> 2 13 2 2 2 3 3 Archiving period = week for idsite = 1... <?xml version="1.0" encoding="utf-8" ?>

[ etc … ]

Archiving for idsite = 4 done!
Reports archiving finished.

Starting Scheduled tasks…

No data available
Finished Scheduled tasks.


(Matthieu Aubry) #4

You probably havent setup cron properly, please check it is the same cron line as in How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo


#5

Well, we redirected the output to null device, no more mails :slight_smile: