@keller31 opened this Issue on November 25th 2021

The newly added daily mail report cannot be sent on the same day!

Steps to Reproduce

  1. Add a new daily email report, such as 4:00 pm (current 2:00 pm)
  2. No email report will be sent at 4:00 pm on the same day
  3. Check TasksTimetable to find the task at 4:00 pm the next day

Environment

  • Matomo Version: 4.5.0
  • PHP Version: 7.4
  • image

@sgiehl commented on November 25th 2021 Member

Had a look at the code and currently new tasks will always be scheduled for the next day. Guess we would need to apply some changes here to changes that behavior:

https://github.com/matomo-org/matomo/blob/115527353a9e75e01aa4d263408956ae45403bea/core/Scheduler/Schedule/Daily.php#L26-L44

Powered by GitHub Issue Mirror