2014-05-01 - Re: [GRASE-Hotspot] Is there a way to set the recurring limits to reset at say 12pm instead of 12am?

Header Data

From: Derek Mitchell <de***2@gmail.com>
Message Hash: d7caa64fa4723f0860b5296aa0f2bf28f0a894319ff76ce9fb6faa70a3f5144b
Message ID: <2814d912-18d0-4826-ac4f-2efaf9ae3f49@grasehotspot.org>
Reply To: <CAESLx0K-Wi5jh=uNxU32OD3qatmda9pqQ2AGU1ntXJVBOo0zRQ@mail.gmail.com>
UTC Datetime: 2014-05-01 19:59:29 UTC
Raw Date: Thu, 01 May 2014 19:59:29 -0700

Raw message

Hi, I have changed line 417 and it has not worked.  Here are the changes I 
made: *"my $unixtime = mktime (0, 0, 12, $mday, $mon, $year, 0, 0);"*

I am trying to change the daily recurring data reset time from midnight to 
midday.  Can someone please tell me what I have done wrong and how to fix 
it.

Thanks for your assistance.

Regards,
Derek

On Thursday, April 17, 2014 9:10:21 PM UTC+10, timwhite88 wrote:
>
> Hi Derek
>
> See 
> https://github.com/GraseHotspot/grase-conf-freeradius/blob/master/freeradius/perl_modules/SQLCounter.pm#L417for details of the daily reset timestamp. You can modify that file to 
> produce a timestamp for the reset. (Your changes will be overridden if that 
> file is ever upgraded, so just make sure you are aware of the changes you 
> make.)
>
> Tim
>
>
> On Thu, Apr 17, 2014 at 12:12 PM, Derek Mitchell <
> de***.@masterlinkcomputers.com.au <javascript:>> wrote:
>
>>  Is there a way to set the recurring limits to reset at 12pm instead of 
>> 12am?
>>
>>  
>>
>> Regards,
>>
>> Derek
>>
>>  
>>  
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> Grase-hotspot mailing list
>> Gr***.@lists.sourceforge.net <javascript:>
>> https://lists.sourceforge.net/lists/listinfo/grase-hotspot
>>
>>
>

Thread