matomo icon indicating copy to clipboard operation
matomo copied to clipboard

Changing email report schedule doesn't update task timetable

Open Starker3 opened this issue 3 years ago • 2 comments

It seems as though updating the email schedule for an email report doesn't update the task timetable for that report.

For example, if we create a new scheduled report with the schedule as Monthly: Thursday-26-05-2022 11-41-40

The task timetable sets the time/date that it will next run, in this case the first day of the next month (The report just created here has an ID of 8): Thursday-26-05-2022 11-44-08

But if this report is updated to a different schedule, for example Daily: Thursday-26-05-2022 11-44-30

Then the task timetable is not updated with the correct next date (Even after running a normal core:archive to let scheduled tasks run like normal): Thursday-26-05-2022 11-48-23

Your Environment

  • Matomo Version: 4.10.0

Starker3 avatar May 25 '22 23:05 Starker3

@Starker3 Can you confirm that deleting and recreating the report works around this issue?

bx80 avatar May 29 '22 23:05 bx80

@bx80 Deleting the report and creating a new one works to get the correct schedule set, yes.

Starker3 avatar May 30 '22 20:05 Starker3