site  contact  subhomenews

Network monthly totals buglet

October 13, 2010 — BarryK
There was a report in the forum that the monthly totals reported in the network tray applet do not reset at the end of the month in Lucid Puppy 5.1.1.

I responded that perhaps the implementation is broken in Lucid, and to try Wary 0.9.

I am running Wary right now, and I did a test, put the date forward then rebooted, and the totals did reset to zero.

But, I thought has occurred to me. The reset only occurs at bootup, so if someone has their computer running continuously, over a month change, the totals won't reset. They will only reset at the next boot.

Hmmm, perhaps I need to add code into the network tray applet to fix this. I always turn my computer off after use. Anyone else leave theirs running?

Comments

non-calendar months


Computer running
Username: 8-bit
"That may explain some things as I may have had my computer running at the end of the month and actually using it when time rolled over to the next month. So you are saying if I read right, that if I have my PC on from before midnight of the end of a month and have not shut it down when the new month starts, the totals will not reset? Is the tray applet a script or a binary file and what is it called?

It will reset
Username: BarryK
"8-bit, It will detect a new month when you reboot, and will reset. However the tally transferred in the new month before you rebooted will be lost, so you will get a slightly wrong reading for the new month.

Network monthly total
Username: B
éèm"I power off my PC after every use."14 Oct 2010, 5:28"01858'Re tray applet"BarryK"The network tray applet is a binary file /root/Startup/network_tray. The month-rollover reset is performed in /etc/rc.d/rc.sysinit at bootup. I have this in my to-do list to improve.


Tags: woof