When a scheduled task fails, the archive.php should report the error
|Reported by:||matt||Owned by:|
|Priority:||major||Milestone:||1.7 Piwik 1.7|
We have been days without noticing that there was an error in the cron script archive.php
When a scheduled task fails, for example PDF generation returning a PHP warning, the error is not reported upstream in archive.php and then in the output (and emailed if setup in cron).
We should make sure that, when an error is triggered in the scheduled tasks (Exception or random php warning), the piwik SU is notified by email that this failed