Go Back   FlashFXP Forums > FlashFXP > Release Archive > Website

Website Comments, Suggestions, Questions, Concerns, Fan mail, Hate mail, Whatever goes.

 
 
Thread Tools
Old 04-02-2005, 09:43 AM   #1
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 13
Default scheduler, reset and timezone

hello,

i am using io858r ioBanana and iA and want to reset monthly up/down stats. [Reset]; MonthlyReset = 1st;.... resets not on the 1st, is will be reset at 2nd. system time is european zone, and ioftps time is -2 hours at sommertime and -1 winter time. daystats and dayreset, weekreset are working fine on 0 o clock european time with scheduler. only month reset makes a problem. what is wrong ?

thx for any help
nud3l is offline  
Old 04-04-2005, 08:53 AM   #2
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 13
Default plz Help

Hey..give me any response please. am i stupid to do a correct config or what i did wrong ? :-/
nud3l is offline  
Old 04-04-2005, 11:53 AM   #3
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

Could you explain what you mean with "ioFTPD time is -2 hours at summer time and -1 hours in winter" ? Do you mean it's using UTC ? If yes, yes it is.
Your timezone is CET, so it's currently UTC+2, isn't it ?

Could you also paste the [Reset] section from your ioFTPD.ini and the whole scheduler line that calls the internal &reset event.
Harm is offline  
Old 04-04-2005, 02:11 PM   #4
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 13
Default

thx for reply.

yes, it is utc+2. so i need to change hours at timer in scheduler to work with my cet. daystats and weekstats are reseted correctly. all time monthlyreset failed on 1st. it will be done at 2nd.

in ioFTPD.ini:

[Reset]
WeeklyReset = Saturday
MonthlyReset = 1st

and

[Scheduler]
Reset = 01 22 * * &Reset
nud3l is offline  
Old 04-04-2005, 03:39 PM   #5
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

Perhaps this is because we're still the 31st (or 30th) when the &reset event is triggered, 2 hours before the new month.

I don't have this problem because I'm using UTC everywhere. Do you have any reason not to use it ? it's a standard for ppl all over the world after all.
If you don't want to for some odd reason, you can leave daystats at midnight localtime but trigger &reset at midnight UTC.
Harm is offline  
 
Create a free account to browse our forums without ads



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:54 AM.