Resetting daily/7 day/monthly counts

Resetting daily/7 day/monthly counts SearchSearch

SMS & MMS Technical Forum » NowSMS Lite (Product Support Only) » Resetting daily/7 day/monthly counts « Previous || Next »
Author Message
Paul Crick
New member
Username: Paulcrick

Post Number: 4
Registered: 07-2011
Posted on Tuesday, February 07, 2012 - 11:13 pm:   

Is there any way to reset the daily/7 day/monthly counts to zero in NowSMS Lite?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3773
Registered: 08-2008
Posted on Friday, February 10, 2012 - 06:10 pm:   

Hi Paul,

I had to do a little investigation to see how this works.

The counters are stored in YEAR.QTA (e.g., 2012.QTA) in the USERS\username directory.

If you delete this file, it will reset the counters for that user.

--
Des
NowSMS Support
Michael Nwaogu
New member
Username: Mnwaogu

Post Number: 7
Registered: 11-2007
Posted on Wednesday, March 20, 2013 - 11:28 am:   

Hi Des, on this same subject. I'm hoping to add the traffic for the same user from a previous year. The server was formatted but the SMS-YYYYMMDD.LOG files are still in our backup server.

Is there a way I can introduce this counts of the sms traffic back to the 2013.QTA of this user?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4316
Registered: 08-2008
Posted on Wednesday, March 20, 2013 - 12:36 pm:   

Hi Michael,


We do not have any tools that would build the .QTA file, but the format of the file is somewhat straightforward. It is a sequence of unsigned 32-bit integers with one per day of the year. Each of these integers is a count for number of messages sent on that day of the year.

--
Des
NowSMS Support
Michael Nwaogu
New member
Username: Mnwaogu

Post Number: 8
Registered: 11-2007
Posted on Wednesday, March 20, 2013 - 02:55 pm:   

Hi Des, on this same subject. I'm hoping to add the traffic for the same user from a previous year. The server was formatted but the SMS-YYYYMMDD.LOG files are still in our backup server.

Is there a way I can introduce this counts of the sms traffic back to the 2013.QTA of this user?
Michael Nwaogu
New member
Username: Mnwaogu

Post Number: 9
Registered: 11-2007
Posted on Wednesday, March 20, 2013 - 02:59 pm:   

Sorry, about that Des, browser cache issues.
Can we read the file and see the presentation as it appears with a view to replicating the file with a tampered one?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4318
Registered: 08-2008
Posted on Wednesday, March 20, 2013 - 03:42 pm:   

Hi Michael,

Drop the file (e.g., 2013.QTA or 2012.QTA) into the USERS\username directory, then go to the SMS Users page, select the user and press "Stats".

The Admin web interface will also show this information, but you need to select to "Modify" the user as there is no separate "Stats" option.

I would recommend that if you generate any files, it'd be a good idea to pad them to 1,464 bytes (366 32-bit integers for max number of days in a year). I'm not certain this is strictly necessary, but I do see that this is how NowSMS generates these files.

--
Des
NowSMS Support
Michael Nwaogu
New member
Username: Mnwaogu

Post Number: 10
Registered: 11-2007
Posted on Wednesday, March 20, 2013 - 03:58 pm:   

Thanks a lot, your comments are quite appreciated.

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics