Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-29-2003, 05:31 AM   #1
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default sheduler problem

hallo there,

i am using ioFTPD 5.2.10r with ioA, ioZS, ioGui and ioGroups in latest versions...

now:

i tried to use weeklyset (from ioA) to give credits to users on the 1. of every month.

started testing today (October 29th) with
credits = * * * * EXEC ..\scripts\ioA\ioA.exe weeklyset

well this worked... but setting * * * 29 didnt and any other combination up to 0-9999 also didnt work. so i think that day of month is something wrong...

also: what happens if day of week is 5 and day of month is 10 and it would work like it has to... will io wait for a combination of exactly 5/week AND 10/month to execute?

and : anyone else having problems with weeklyset like:

site weekly --> ok file displayed
site weeklyset --> ok all weeklysets are done
site weekly <user> 0,10000 --> only help displayed .... nothing is written to the file.

thx in advance

edit: atm i am testing out the day of the week settings

edit: also doesnt work here...
toki is offline   Reply With Quote
Old 10-29-2003, 08:32 AM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default Re: sheduler problem

Quote:
Originally posted by cunhell
also: what happens if day of week is 5 and day of month is 10 and it would work like it has to... will io wait for a combination of exactly 5/week AND 10/month to execute?
yes

Quote:
Originally posted by cunhell
edit: atm i am testing out the day of the week settings

edit: also doesnt work here...
U restarted io each time u changed the scheduler settings ? a rehash won't do, u need to restart.
Mouton is offline   Reply With Quote
Old 10-29-2003, 09:16 AM   #3
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

always restart. shutdown + start
toki is offline   Reply With Quote
Old 10-29-2003, 01:47 PM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Seems to be a bug. Moving to Bugs forum.

Scheduled events:

Day_Stats = 12 18 * * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 13 18 * 29 EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 14 18 0 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 15 18 1 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 16 18 2 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 17 18 3 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 18 18 4 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 19 18 5 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 20 18 6 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 21 18 7 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 22 18 wednesday * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 23 18 Wednesday * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 24 18 * 29th EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 25 18 * 28 EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 26 18 * 30 EXEC ..\scripts\ioBanana.exe daystats

Only 18:12 (the 1st) worked.
10-29-2003 18:12:02 DAYSTATS: "Launch daystats"

None of the others seems to have been trigered.

Care to have a look in debug dark ?
Mouton is offline   Reply With Quote
Old 10-30-2003, 05:41 AM   #5
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

was looking for my thread... thought it was deleted... *g*

thx guys for help
toki is offline   Reply With Quote
Old 10-30-2003, 06:17 AM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Quote:
Originally posted by Mouton
Seems to be a bug. Moving to Bugs forum.

Scheduled events:

Day_Stats = 12 18 * * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 13 18 * 29 EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 14 18 0 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 15 18 1 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 16 18 2 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 17 18 3 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 18 18 4 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 19 18 5 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 20 18 6 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 21 18 7 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 22 18 wednesday * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 23 18 Wednesday * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 24 18 * 29th EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 25 18 * 28 EXEC ..\scripts\ioBanana.exe daystats
Day_Stats = 26 18 * 30 EXEC ..\scripts\ioBanana.exe daystats

Only 18:12 (the 1st) worked.
10-29-2003 18:12:02 DAYSTATS: "Launch daystats"

None of the others seems to have been trigered.

Care to have a look in debug dark ?
Each item must have unique name (it's made like this, to allow rehashing in the future)
darkone is offline   Reply With Quote
Old 10-30-2003, 10:11 AM   #7
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Day_Stats1 = 04 15 * * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats2 = 05 15 * 30 EXEC ..\scripts\ioBanana.exe daystats
Day_Stats3 = 06 15 0 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats4 = 07 15 1 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats5 = 08 15 2 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats6 = 09 15 3 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats7 = 10 18 4 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats8 = 11 15 5 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats9 = 12 15 6 * EXEC ..\scripts\ioBanana.exe daystats
Day_Stats10 = 13 15 7 * EXEC ..\scripts\ioBanana.exe daystats

Same results. Only Day_Stats1 is executed.
Mouton is offline   Reply With Quote
Old 10-31-2003, 05:47 AM   #8
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

It seems that they're in following order:

<MIN> <HOUR> <DOM> <DOW> .. however there's one minor bug in it, DOM = DOM - 1. So day 31 should be written as 30... will be fixed in next version tho
darkone is offline   Reply With Quote
Old 10-31-2003, 10:36 AM   #9
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

How about changing the order back to <DOW> <DOM> so we don't have to change default .ini, and tell to everyone who ask that their old .ini has a typo in it... Would be simpler.
Mouton is offline   Reply With Quote
Old 10-31-2003, 11:53 AM   #10
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

i agree...technically, the logical order is MIN, HOUR, DOW, DOM.
Linkster is offline   Reply With Quote
Old 11-01-2003, 02:29 PM   #11
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Ok. Fixed in 5.2.12r.

Event = <minutes> <hours> <day of month> <day of week>

day of week starts with 0 = sunday.
Mouton is offline   Reply With Quote
Reply

Tags
day, month, site, weeklyset, work

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

Forum Jump


All times are GMT -5. The time now is 07:20 AM.

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