BUG: SRM Monthly report generation fails to run when set to a day greater than the month has

Currently reading
BUG: SRM Monthly report generation fails to run when set to a day greater than the month has

219
86
NAS
DS1621+, DS1522+, DS720+
Router
  1. MR2200ac
  2. RT6600ax
  3. WRX560
Operating system
  1. Linux
  2. macOS
  3. Windows
  4. other
Mobile operating system
  1. iOS
Looks like my monthly report that is scheduled to run on the 31st failed to run in April - I suspect due to there only being 30 days!

I guess there is a basic logic checking daynum, and not caclulating off end day of month.

Sadly this is a problem for those on mobile carriers who bill on different days of the month (eg 30 day billing cycles).
 
Logically the test would be add 1 day to today and if month is different then today is the last day of the month. Whether that's how it's done is another matter.

My method on DSM and SRM is reports are on the 1st at 00:00, but would be nice if it was 'last day of month at 23:59' as it has the right month in the file name.
 
To clarify:

Firstly, daily reports work fine.

Monthly report generation - if day set to 1-30 = works fine (though it doesn't in February).
If day set to 31 = works fine if 31 days in month (as it ran in March) else it doesn't run.

The expected behaviour should be to run on the last day of month if the day set > number of days in month (e.g.: run on the 30th if month has 30 days, and to run on 28th or 29th in Feb). It's clearly a coding error as it is just doing a straight day number lookup rather than applying logic according to the month. Or they need to add a 'last day of month option if the day number is strictly for that day.

The reason I need it to run on last day of month is to align with my mobile broadband billing cycle, so I can compare their record of usage to what the Synology reports (as I'm not trusting their usage reporting and wish to query it).

Reported the bug to Synology so we will see what happens.
 
Fully understand your issue and reason. I originally set up weekly, monthly, and yearly reports. After the monthly didn’t trigger, like for you, I had to change to trigger just after the reporting period.

On my always on iMac I run PeakHour that monitors the SRM router using SNMP. It provides interactive history graphs which can be used to corroborate the SRM reports (even when run slightly late).

Could be something similar on other platforms
 
So you are a coder? :rolleyes:
No, I’m a psychologist - why so hostile? 🤔 /s

If you needed to do that, you would run the report on the first day of the month as Rusty described.
No, because the 1st of each month is actually THE SECOND DAY OF THE BILLING CYCLE. 🙄
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Update on this.... All access to passwords has been deleted -- removed on all devices there... no...
Replies
3
Views
630
  • Locked
  • Sticky
Check the official Synology website for release notes for SRM...
Replies
0
Views
430
Hi! Finally, Synology fix the issue. How? Disable PPPe acceleration. How? With a script that they do not...
Replies
15
Views
4,193
Thanks, am using the Checkpoint appliances 1490 all local managed device, overkill for a home network but...
Replies
4
Views
2,878
For anybody interested on SRM 1.3 I'm using Dual WAN and I've created three networks with corresponding...
Replies
0
Views
1,437
I have been testing the extra VLANs in SRM 1.3 and enabling a wireless SSID for each. When I use WiFi...
Replies
0
Views
1,605

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top