PDA

View Full Version : reset month stats


razoor
05-01-2007, 07:47 PM
Hey.
Need some help here before i go crazy.

The resets stats looks like this by default in ioftpd.ini
Reset = 0 0 * * &Reset
and the monthly reset is at the 1:st of the month at 02:00.
Since im in UTC +2.
So in my world i should change this to
Reset = 0 22 * * &Reset
Wich should work fine.

But, then it´s resetting at 00:00 the 2:nd of the month instead of the 1:st at 00:00
So does it always count forward on this? i want a minus value not a plus value.

should ioftp behave like this or is it a bug, or am i doing it wrong?

and im using 5.8.5 and not the newest one by yiil :)

Mave
05-04-2007, 01:23 PM
hey

Its a normal behaviour .... i got the same issue and its because it will reset on the FIRST of the month ....... In case you use 0 22 its still not the first of the month

razoor
05-04-2007, 03:56 PM
so then im not abel to get around this!?!
Caus if it counts that way, i would need to set it to the lest of the month instead of the 1st.
And that would be a pain in the ars. =)

Mave
05-05-2007, 02:04 PM
ye its indeed a pain in the ass .....