Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-01-2005, 09:14 PM   #1
webManx
Junior Member
 
Join Date: Apr 2005
Posts: 7
Default [Investigated] Quota resets twice

On the 1st of each month, at 00:00 (e.g. 1 min earlier would be Oct 31st, 23:59), the quota system seems to be working properly. 24 hours later the quota gets reset again. Why does it reset twice?

Config:

Code:
[Reset]
WeeklyReset     = Monday
MonthlyReset    = 1st

[Scheduler]
###
# Scheduler
#
# Event = <minutes> <hours> <day of month> <day of week> Command
#
# Internal Commands:
#
# &Reset          : Resets upload/download counters
# &Service_Update : Reloads devices and Restarts services, if bind ip of service has changed
Reset           	= 0 0 * *            	&Reset
Service_Update  	= 10,30,50 * * *        &Service_Update
Day_Stats 		= 0 0 * *  		EXEC ..\scripts\ioBanana\ioBanana.exe daystats
If anyone could post an example (relevant parts) on how I should config Windrop (eggdrop.conf), ioFTPD (ioFTPD.ini), ioBanana (ioBanana.tcl) and how my windows clock should be set, that would be great!

ioBanana v20
ioFTPD 5.8.5r
WindropSSL 1.6.15

Yes, I know there is a new version of ioBanana, and I do plan to install a testversion ASAP but until then I want it to work with this one.

Looking forward to some good answers,

webManx
webManx is offline   Reply With Quote
Old 11-05-2005, 01:14 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

That's a good question. Could you explain what makes you think it's resetted and what stats you've used to check that ?
Harm is offline   Reply With Quote
Old 11-06-2005, 08:04 AM   #3
webManx
Junior Member
 
Join Date: Apr 2005
Posts: 7
Default

Actually I forgot to check the stats before and after the quota was resetted the second time (i.e. site stats monthup) so now theres no way to know if io did actually reset twice, or if the problems comes from any of the scripts. Since MonthlyReset is set to 1st, io should only reset once.

Perhaps there is something wrong in this switch block?

HTML Code:
"quota123" {
			set user [lindex $args 1]
			set status [catch {set ee [::ftp::Quote $ioBvar(ftp) SITE BSTATS MONTHUP USER $user 1 "\"$ioBvar(sections)\""]} result]
etc.
I feel im just guessing here
webManx is offline   Reply With Quote
Old 11-08-2005, 04:30 PM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Not that I can remember but ioBanana v20 is getting old nowadays. Have you checked if it happens with ioB2 release 1 ?
Harm is offline   Reply With Quote
Old 11-08-2005, 05:21 PM   #5
webManx
Junior Member
 
Join Date: Apr 2005
Posts: 7
Default

I will have ioB2 ready for next month. Thanks.
webManx is offline   Reply With Quote
Reply

Tags
&service_update, iobanana, ioftpd, quota, reset

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


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

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)