Open bbodenmiller opened 3 years ago
Hi @bbodenmiller
Just to verify: does your crontab look like there and mailto is on its own line?
MAILTO
is a crontab feature, not a Matomo feature so I don't think using export and running it on command line like above would work unfortunately.
Interesting. I thought it was Matomo feature. I'm using https://docs.pivotal.io/scheduler/1-2/index.html for scheduling which must not support this feature. Looks like it wouldn't work for windows either.
@bbodenmiller is there maybe a way to use regular crontab or so? I'll meanwhile rename this issue to describe it as a new enhancement (as it's not a bug)
Expected Behavior
Per https://matomo.org/docs/setup-auto-archiving/#linux-unix-how-to-set-up-a-crontab-to-automatically-archive-the-reports when
MAILTO
environment variable is set before runningcore:archive
it is supposed to send an email if archive fails. Have verified mail settings are set correctly as other emails from Matomo are working.Current Behavior
core:archive
is failing and the emails are not being sent.Possible Solution
Steps to Reproduce (for Bugs)
export MAILTO='me@domain.com' && console core:archive --url=https://matomo.domain.com
Context
Your Environment